{"action":"created","issue":{"url":"https://api.github.com/repos/mitchellh/packer/issues/1893","labels_url":"https://api.github.com/repos/mitchellh/packer/issues/1893/labels{/name}","comments_url":"https://api.github.com/repos/mitchellh/packer/issues/1893/comments","events_url":"https://api.github.com/repos/mitchellh/packer/issues/1893/events","html_url":"https://github.com/mitchellh/packer/issues/1893","id":56408726,"number":1893,"title":"Trying to build two boxes from one OVF","user":{"login":"alecgoebel","id":399556,"avatar_url":"https://avatars.githubusercontent.com/u/399556?v=3","gravatar_id":"","url":"https://api.github.com/users/alecgoebel","html_url":"https://github.com/alecgoebel","followers_url":"https://api.github.com/users/alecgoebel/followers","following_url":"https://api.github.com/users/alecgoebel/following{/other_user}","gists_url":"https://api.github.com/users/alecgoebel/gists{/gist_id}","starred_url":"https://api.github.com/users/alecgoebel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alecgoebel/subscriptions","organizations_url":"https://api.github.com/users/alecgoebel/orgs","repos_url":"https://api.github.com/users/alecgoebel/repos","events_url":"https://api.github.com/users/alecgoebel/events{/privacy}","received_events_url":"https://api.github.com/users/alecgoebel/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-02-03T17:23:42Z","updated_at":"2015-02-03T18:42:09Z","closed_at":null,"body":"This fails on importing appliance as the image already exists.  \r\n\r\n```\r\n==> slave-centos-vbox: Importing VM: boxes/base/base-centos.ovf\r\n==> master-vbox: Importing VM: boxes/base/base-centos.ovf\r\n==> master-vbox: Error importing VM: VBoxManage error: 0%...10%...20%...30%...40%...50%...60%...70%...80%...90%...100%\r\n==> master-vbox: Interpreting /Users/agoebel/proj/giet/boxes/base/base-centos.ovf...\r\n==> master-vbox: OK.\r\n==> master-vbox: 0%...\r\n==> master-vbox: Progress state: VBOX_E_FILE_ERROR\r\n==> master-vbox: VBoxManage: error: Appliance import failed\r\n==> master-vbox: VBoxManage: error: Could not create the imported medium '/Users/agoebel/VirtualBox VMs/base-centos/base-centos-disk1.vmdk'.\r\n==> master-vbox: VBoxManage: error: VMDK: could not create new file '/Users/agoebel/VirtualBox VMs/base-centos/base-centos-disk1.vmdk' (VERR_ALREADY_EXISTS)\r\n==> master-vbox: VBoxManage: error: Details: code VBOX_E_FILE_ERROR (0x80bb0004), component Appliance, interface IAppliance\r\n==> master-vbox: VBoxManage: error: Context: \"int handleImportAppliance(HandlerArg*)\" at line 779 of file VBoxManageAppliance.cpp\r\n==> master-vbox: Deleting output directory...\r\nBuild 'master-vbox' errored: Error importing VM: VBoxManage error: 0%...10%...20%...30%...40%...50%...60%...70%...80%...90%...100%\r\nInterpreting /Users/agoebel/proj/giet/boxes/base/base-centos.ovf...\r\nOK.\r\n0%...\r\nProgress state: VBOX_E_FILE_ERROR\r\nVBoxManage: error: Appliance import failed\r\nVBoxManage: error: Could not create the imported medium '/Users/agoebel/VirtualBox VMs/base-centos/base-centos-disk1.vmdk'.\r\nVBoxManage: error: VMDK: could not create new file '/Users/agoebel/VirtualBox VMs/base-centos/base-centos-disk1.vmdk' (VERR_ALREADY_EXISTS)\r\nVBoxManage: error: Details: code VBOX_E_FILE_ERROR (0x80bb0004), component Appliance, interface IAppliance\r\nVBoxManage: error: Context: \"int handleImportAppliance(HandlerArg*)\" at line 779 of file VBoxManageAppliance.cpp\r\n```\r\n\r\nIs there a sensible way to do this?  I essentially have my CentOS base image and I'm trying to use packer to install specific software onto two versions.  I'd install from the iso again but I'm going to have similar issues with windows down the line and I have a base image for that fully updated and patched.  "},"comment":{"url":"https://api.github.com/repos/mitchellh/packer/issues/comments/72708555","html_url":"https://github.com/mitchellh/packer/issues/1893#issuecomment-72708555","issue_url":"https://api.github.com/repos/mitchellh/packer/issues/1893","id":72708555,"user":{"login":"alecgoebel","id":399556,"avatar_url":"https://avatars.githubusercontent.com/u/399556?v=3","gravatar_id":"","url":"https://api.github.com/users/alecgoebel","html_url":"https://github.com/alecgoebel","followers_url":"https://api.github.com/users/alecgoebel/followers","following_url":"https://api.github.com/users/alecgoebel/following{/other_user}","gists_url":"https://api.github.com/users/alecgoebel/gists{/gist_id}","starred_url":"https://api.github.com/users/alecgoebel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alecgoebel/subscriptions","organizations_url":"https://api.github.com/users/alecgoebel/orgs","repos_url":"https://api.github.com/users/alecgoebel/repos","events_url":"https://api.github.com/users/alecgoebel/events{/privacy}","received_events_url":"https://api.github.com/users/alecgoebel/received_events","type":"User","site_admin":false},"created_at":"2015-02-03T18:42:09Z","updated_at":"2015-02-03T18:42:09Z","body":"I had not, but adding it to the conflicting entries did not change anything.  I've run it a few times today and it seems to be a race condition of whether \"master-vbox\" or \"slave-centos-vbox\" errors.  Out of the 10 or so times I've run it, it worked correctly exactly once."}}