{"action":"created","issue":{"url":"https://api.github.com/repos/mitchellh/packer/issues/3329","repository_url":"https://api.github.com/repos/mitchellh/packer","labels_url":"https://api.github.com/repos/mitchellh/packer/issues/3329/labels{/name}","comments_url":"https://api.github.com/repos/mitchellh/packer/issues/3329/comments","events_url":"https://api.github.com/repos/mitchellh/packer/issues/3329/events","html_url":"https://github.com/mitchellh/packer/issues/3329","id":139817893,"number":3329,"title":"vmware-iso not exporting VM (at all)","user":{"login":"aptituz","id":131903,"avatar_url":"https://avatars.githubusercontent.com/u/131903?v=3","gravatar_id":"","url":"https://api.github.com/users/aptituz","html_url":"https://github.com/aptituz","followers_url":"https://api.github.com/users/aptituz/followers","following_url":"https://api.github.com/users/aptituz/following{/other_user}","gists_url":"https://api.github.com/users/aptituz/gists{/gist_id}","starred_url":"https://api.github.com/users/aptituz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aptituz/subscriptions","organizations_url":"https://api.github.com/users/aptituz/orgs","repos_url":"https://api.github.com/users/aptituz/repos","events_url":"https://api.github.com/users/aptituz/events{/privacy}","received_events_url":"https://api.github.com/users/aptituz/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/mitchellh/packer/labels/bug","name":"bug","color":"f7c6c7"},{"url":"https://api.github.com/repos/mitchellh/packer/labels/builder/vmware","name":"builder/vmware","color":"d4c5f9"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-03-10T08:18:53Z","updated_at":"2016-03-10T12:19:19Z","closed_at":null,"body":"Hi,\r\n\r\nI'm trying to generate an OVF with the vmware-iso builder, by having the format parameter set to 'ovf' (which should also be the default). The problem is, that the export steps does not seem to be called, there is no \"Exporting the machine .. \" message or alike. From the builds last log lines:\r\n\r\n```\r\n2016/03/10 00:51:32 ui: ==> vmware-iso: Cleaning VMX prior to finishing up...\r\n==> vmware-iso: Cleaning VMX prior to finishing up...\r\n2016/03/10 00:51:32 ui:     vmware-iso: Unmounting floppy from VMX...\r\n2016/03/10 00:51:32 packer: 2016/03/10 00:51:32 Deleting key: floppy0.present\r\n    vmware-iso: Unmounting floppy from VMX...\r\n2016/03/10 00:51:32 ui:     vmware-iso: Detaching ISO from CD-ROM device...\r\n    vmware-iso: Detaching ISO from CD-ROM device...\r\n2016/03/10 00:51:32 ui:     vmware-iso: Disabling VNC server...\r\n    vmware-iso: Disabling VNC server...\r\n2016/03/10 00:51:32 packer: 2016/03/10 00:51:32 Writing VMX to: output-vmware-iso/centos7.vmx\r\n2016/03/10 00:51:32 packer: 2016/03/10 00:51:32 Executing: /Applications/VMware Fusion.app/Contents/Library/vmrun [-T fusion list]\r\n2016/03/10 00:51:32 packer: 2016/03/10 00:51:32 stdout: Total running VMs: 0\r\n2016/03/10 00:51:32 packer: 2016/03/10 00:51:32 stderr:\r\n2016/03/10 00:51:32 ui: Build 'vmware-iso' finished.\r\n2016/03/10 00:51:32 Builds completed. Waiting on interrupt barrier...\r\n2016/03/10 00:51:32 ui: \r\n==> Builds finished. The artifacts of successful builds are:\r\n2016/03/10 00:51:32 machine readable: vmware-iso,artifact-count []string{\"1\"}\r\nBuild 'vmware-iso' finished.\r\n```\r\n\r\nI'm using 0.9.0 on OSX with VMWare Fusion 7. If needed, I can create the gists etc requested in the bug template, but I think that it's not necessary:\r\n\r\nIn the source I found the line 38 (https://github.com/mitchellh/packer/blob/master/builder/vmware/iso/step_export.go#L38) which I think is the culprit: I'm not a go programmer but I read it as \"if remote type is not esx5 - stop\". That way ovftool is never called and therefore no file created.\r\n\r\nBest Regards,\r\nPatrick"},"comment":{"url":"https://api.github.com/repos/mitchellh/packer/issues/comments/194817147","html_url":"https://github.com/mitchellh/packer/issues/3329#issuecomment-194817147","issue_url":"https://api.github.com/repos/mitchellh/packer/issues/3329","id":194817147,"user":{"login":"majinjing3","id":1567113,"avatar_url":"https://avatars.githubusercontent.com/u/1567113?v=3","gravatar_id":"","url":"https://api.github.com/users/majinjing3","html_url":"https://github.com/majinjing3","followers_url":"https://api.github.com/users/majinjing3/followers","following_url":"https://api.github.com/users/majinjing3/following{/other_user}","gists_url":"https://api.github.com/users/majinjing3/gists{/gist_id}","starred_url":"https://api.github.com/users/majinjing3/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/majinjing3/subscriptions","organizations_url":"https://api.github.com/users/majinjing3/orgs","repos_url":"https://api.github.com/users/majinjing3/repos","events_url":"https://api.github.com/users/majinjing3/events{/privacy}","received_events_url":"https://api.github.com/users/majinjing3/received_events","type":"User","site_admin":false},"created_at":"2016-03-10T12:19:19Z","updated_at":"2016-03-10T12:19:19Z","body":"Now step_export just can export esx vm, we can add other vm support."}}