packer-cn/builder/vmware/common
Shawn Neal 5fd9651982 GH 1508 - Ensure Packer VMX is updated and saved
We need to ensure the VMWare process has exited before attempting to run VMX file cleanup steps, otherwise VMWare may overwrite our changes. While Packer does its best to ensure VMWare has exited, there's still a race condition on some OSs between VMWare flushing the VMX and Packer updating it. The workaround is to artifically wait 5 seconds.

When using the VMX builder its possible for the source machine to have a floppy and/or CD-ROM mounted which gets cloned to the new VM Packer spins up, but have no Packer configuration for those devices. With this change we always attempt to remove the mounted devices regardless of the Packer configuration.
2014-09-24 09:42:10 -07:00
..
artifact.go builder/vmware: new artifact type that is common 2013-12-25 11:27:53 -07:00
artifact_test.go builder/vmware: new artifact type that is common 2013-12-25 11:27:53 -07:00
config_test.go builder/vmware/common: SSHConfig 2013-12-23 23:27:01 -07:00
driver.go Add support for VMware Fusion 7 Pro [GH-1478] 2014-09-10 10:14:50 -07:00
driver_config.go builder/vmware/*: can specify path to fusion [GH-677] 2013-12-27 08:37:39 -07:00
driver_config_test.go builder/vmware/*: can specify path to fusion [GH-677] 2013-12-27 08:37:39 -07:00
driver_fusion5.go builder/vmware: no error if stopping already stopped [GH-1300] 2014-09-05 10:29:35 -07:00
driver_fusion6.go Add support for VMware Fusion 7 Pro [GH-1478] 2014-09-10 10:14:50 -07:00
driver_mock.go Fix unknown command and syntax error of the ESX5Driver 2014-04-22 00:27:33 +09:00
driver_mock_test.go builder/vmware/common: Mock driver and test for DHCP Lease IP lookup 2013-12-24 11:55:44 -07:00
driver_player5.go fmt 2014-09-03 21:27:54 -07:00
driver_player5_windows.go builder/vmware: add VMWare Player 6 support 2014-05-12 18:35:37 -07:00
driver_player6.go builder/vmware: add VMWare Player 6 support 2014-05-12 18:35:37 -07:00
driver_player6_windows.go Add support for VMware Fusion 7 Pro [GH-1478] 2014-09-10 10:14:50 -07:00
driver_player_unix.go Add support for VMware Fusion 7 Pro [GH-1478] 2014-09-10 10:14:50 -07:00
driver_workstation9.go Fixed multiple VMware typos. 2014-08-22 10:07:36 +02:00
driver_workstation9_windows.go builder/vmware: move drivers out to common 2013-12-25 15:50:12 -07:00
driver_workstation10.go builder/vmware-vmx: add cloning support on Windows [GH-824] 2014-04-06 15:31:49 -07:00
driver_workstation10_windows.go Add support for VMware Fusion 7 Pro [GH-1478] 2014-09-10 10:14:50 -07:00
driver_workstation_unix.go Add support for VMware Fusion 7 Pro [GH-1478] 2014-09-10 10:14:50 -07:00
guest_ip.go builder/vmware/common: shuffling stuff around 2013-12-24 11:00:51 -07:00
guest_ip_test.go builder/vmware/common: Mock driver and test for DHCP Lease IP lookup 2013-12-24 11:55:44 -07:00
host_ip.go builder/virtualbox-ovf,vmware-vmx: add `boot_command` support 2014-05-12 21:19:24 -07:00
host_ip_ifconfig.go builder/virtualbox-ovf,vmware-vmx: add `boot_command` support 2014-05-12 21:19:24 -07:00
host_ip_ifconfig_test.go builder/virtualbox-ovf,vmware-vmx: add `boot_command` support 2014-05-12 21:19:24 -07:00
host_ip_vmnetnatconf.go builder/virtualbox-ovf,vmware-vmx: add `boot_command` support 2014-05-12 21:19:24 -07:00
host_ip_vmnetnatconf_test.go builder/virtualbox-ovf,vmware-vmx: add `boot_command` support 2014-05-12 21:19:24 -07:00
output_config.go builder/vmware/vmx: outputdir 2013-12-25 16:01:57 -07:00
output_config_test.go builder/vmware/vmx: outputdir 2013-12-25 16:01:57 -07:00
output_dir.go builder/vmware: move outputdir stuff to common 2013-12-24 11:21:02 -07:00
output_dir_local.go builder/vmware/common: make the dir private for LocalOutputDir 2013-12-24 11:22:22 -07:00
output_dir_local_test.go builder/vmware: move outputdir stuff to common 2013-12-24 11:21:02 -07:00
run_config.go fmt 2014-09-08 10:28:21 -07:00
run_config_test.go builder/vmware/vmx: run the VMs 2013-12-26 15:26:09 -07:00
shutdown_config.go builder/vmware/vmx: shutdown 2013-12-26 15:31:23 -07:00
shutdown_config_test.go builder/vmware/vmx: shutdown 2013-12-26 15:31:23 -07:00
ssh.go builder/*: extract key path to ssh.Signer 2014-09-03 20:23:39 -07:00
ssh_config.go builder/*: extract key path to ssh.Signer 2014-09-03 20:23:39 -07:00
ssh_config_test.go builder/vmware/common: SSHConfig 2013-12-23 23:27:01 -07:00
step_clean_files.go builder/vmware/common: StepCleanFiles 2013-12-24 18:17:58 -07:00
step_clean_vmx.go GH 1508 - Ensure Packer VMX is updated and saved 2014-09-24 09:42:10 -07:00
step_clean_vmx_test.go GH 1508 - Ensure Packer VMX is updated and saved 2014-09-24 09:42:10 -07:00
step_compact_disk.go builder/vmware: StepCompactDisk 2013-12-24 23:09:22 -07:00
step_compact_disk_test.go builder/vmware: StepCompactDisk 2013-12-24 23:09:22 -07:00
step_configure_vmx.go fmt 2014-09-03 21:27:54 -07:00
step_configure_vmx_test.go builder/vmware: add more stuff to common 2013-12-23 23:07:43 -07:00
step_configure_vnc.go fmt 2014-09-08 10:28:21 -07:00
step_http_server.go builder/vmware-vmx: support http files 2014-09-05 11:59:46 -07:00
step_output_dir.go builder/vmware: move outputdir stuff to common 2013-12-24 11:21:02 -07:00
step_output_dir_test.go builder/vmware/common: make the dir private for LocalOutputDir 2013-12-24 11:22:22 -07:00
step_prepare_tools.go builder/vmware/common: tests for StepPrepareTools 2014-05-10 10:16:53 -07:00
step_prepare_tools_test.go builder/vmware/common: more tests 2014-05-10 10:19:14 -07:00
step_run.go builder/vmware: move StepRun to common 2013-12-24 18:12:43 -07:00
step_run_test.go builder/vmware: move StepRun to common 2013-12-24 18:12:43 -07:00
step_shutdown.go GH 1508 - Ensure Packer VMX is updated and saved 2014-09-24 09:42:10 -07:00
step_shutdown_test.go builder/vmware/common: fix failing tests on Windows 2014-03-07 10:29:04 -08:00
step_suppress_messages.go builder/vmware/common: StepSuppressMessages 2013-12-24 14:26:44 -07:00
step_suppress_messages_test.go builder/vmware/common: StepSuppressMessages 2013-12-24 14:26:44 -07:00
step_test.go builder/vmware/common: StepSuppressMessages 2013-12-24 14:26:44 -07:00
step_type_boot_command.go builder/vmware: style 2014-09-05 12:01:07 -07:00
step_upload_tools.go Merge branch '1064-fix-upload-file-permissions' of github.com:rasa/packer into rasa-1064-fix-upload-file-permissions 2014-09-08 13:20:46 -07:00
tools_config.go go fmt 2014-05-09 21:12:14 -07:00
vmx.go builder/vmware: StepCleanVMX 2013-12-24 18:40:52 -07:00
vmx_config.go Update vmx_config.go 2014-05-12 14:43:12 -07:00
vmx_config_test.go builder/vmware/vmx: configure VMX 2013-12-26 15:14:19 -07:00
vmx_test.go builder/vmware: add more stuff to common 2013-12-23 23:07:43 -07:00