{"action":"created","issue":{"url":"https://api.github.com/repos/hashicorp/packer/issues/7067","repository_url":"https://api.github.com/repos/hashicorp/packer","labels_url":"https://api.github.com/repos/hashicorp/packer/issues/7067/labels{/name}","comments_url":"https://api.github.com/repos/hashicorp/packer/issues/7067/comments","events_url":"https://api.github.com/repos/hashicorp/packer/issues/7067/events","html_url":"https://github.com/hashicorp/packer/issues/7067","id":387426557,"node_id":"MDU6SXNzdWUzODc0MjY1NTc=","number":7067,"title":"vmware-iso bios.hddOrder and bios.bootOrder need deep dive","user":{"login":"SwampDragons","id":1008838,"node_id":"MDQ6VXNlcjEwMDg4Mzg=","avatar_url":"https://avatars2.githubusercontent.com/u/1008838?v=4","gravatar_id":"","url":"https://api.github.com/users/SwampDragons","html_url":"https://github.com/SwampDragons","followers_url":"https://api.github.com/users/SwampDragons/followers","following_url":"https://api.github.com/users/SwampDragons/following{/other_user}","gists_url":"https://api.github.com/users/SwampDragons/gists{/gist_id}","starred_url":"https://api.github.com/users/SwampDragons/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SwampDragons/subscriptions","organizations_url":"https://api.github.com/users/SwampDragons/orgs","repos_url":"https://api.github.com/users/SwampDragons/repos","events_url":"https://api.github.com/users/SwampDragons/events{/privacy}","received_events_url":"https://api.github.com/users/SwampDragons/received_events","type":"User","site_admin":false},"labels":[{"id":126752682,"node_id":"MDU6TGFiZWwxMjY3NTI2ODI=","url":"https://api.github.com/repos/hashicorp/packer/labels/builder/vmware","name":"builder/vmware","color":"d4c5f9","default":false},{"id":121566483,"node_id":"MDU6TGFiZWwxMjE1NjY0ODM=","url":"https://api.github.com/repos/hashicorp/packer/labels/builder/vmware-esxi","name":"builder/vmware-esxi","color":"d4c5f9","default":false},{"id":736692659,"node_id":"MDU6TGFiZWw3MzY2OTI2NTk=","url":"https://api.github.com/repos/hashicorp/packer/labels/post-processor/vsphere-template","name":"post-processor/vsphere-template","color":"fef2c0","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":5,"created_at":"2018-12-04T18:42:33Z","updated_at":"2018-12-19T17:57:36Z","closed_at":null,"author_association":"MEMBER","body":"This issue combines #6197 and #6742 into one place.  \r\n\r\nParaphrased from #6197:\r\n\r\n```\r\nVM is created from a template created by Packer using the builders \"vmware-iso\" on a Remote vSphere Hypervisor and the post-processors \"vsphere-template\".\r\n\r\nEven though Packer generates a template with a boot order set to \"hdd,CDROM\", a VM created from that template has the boot order reset to \"cdrom\". The reason seems to be that the template .vmtx file does not have an entry \"bios.hddOrder\" such as \"bios.hddOrder\": \"scsi0:0\".\r\n\r\nA workaround is to set \"bios.hddOrder\": \"scsi0:0\" in the vmx_data_post section.\r\n```\r\n\r\nWe tried to solve this with PR #6204 by adding \"bios.hddOrder\": \"scsi0:0\" in the vmx file. this fixed #6197 but it caused #6742, which found that ovftool couldn't properly upload a vm when `bios.hddOrder` was set--or at least when it was set the way we did it. We've reached out to VMWare for help with this, because we think it may be a bug with OVFtool; but so far we have no response.  \r\n\r\nWe need to find a solution that works for both situations."},"comment":{"url":"https://api.github.com/repos/hashicorp/packer/issues/comments/448687676","html_url":"https://github.com/hashicorp/packer/issues/7067#issuecomment-448687676","issue_url":"https://api.github.com/repos/hashicorp/packer/issues/7067","id":448687676,"node_id":"MDEyOklzc3VlQ29tbWVudDQ0ODY4NzY3Ng==","user":{"login":"SwampDragons","id":1008838,"node_id":"MDQ6VXNlcjEwMDg4Mzg=","avatar_url":"https://avatars2.githubusercontent.com/u/1008838?v=4","gravatar_id":"","url":"https://api.github.com/users/SwampDragons","html_url":"https://github.com/SwampDragons","followers_url":"https://api.github.com/users/SwampDragons/followers","following_url":"https://api.github.com/users/SwampDragons/following{/other_user}","gists_url":"https://api.github.com/users/SwampDragons/gists{/gist_id}","starred_url":"https://api.github.com/users/SwampDragons/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SwampDragons/subscriptions","organizations_url":"https://api.github.com/users/SwampDragons/orgs","repos_url":"https://api.github.com/users/SwampDragons/repos","events_url":"https://api.github.com/users/SwampDragons/events{/privacy}","received_events_url":"https://api.github.com/users/SwampDragons/received_events","type":"User","site_admin":false},"created_at":"2018-12-19T17:57:36Z","updated_at":"2018-12-19T17:57:36Z","author_association":"MEMBER","body":"We definitely need to at least document it; I'd also like to put some minimal effort to see if there are some conditionals we could add that work around the bug with ofvtool and the one with the vsphere template post-processor so that we're doing our best to make things work out of the box for our users. "}}
{"actor":{"display_login":"SwampDragons"}}