packer-cn/builder/vmware/common
Adrien Delorme f555e7a9f2 allow a provisioner to timeout
* I had to contextualise Communicator.Start and RemoteCmd.StartWithUi
NOTE: Communicator.Start starts a RemoteCmd but RemoteCmd.StartWithUi will run the cmd and wait for a return, so I renamed StartWithUi to RunWithUi so that the intent is clearer.
Ideally in the future RunWithUi will be named back to StartWithUi and the exit status or wait funcs of the command will allow to wait for a return. If you do so please read carrefully https://golang.org/pkg/os/exec/#Cmd.Stdout to avoid a deadlock
* cmd.ExitStatus to cmd.ExitStatus() is now blocking to avoid race conditions
* also had to simplify StartWithUi
2019-04-08 20:09:21 +02:00
..
artifact.go Fix 'nil' dir in VMware artifact when building locally 2018-12-14 13:21:41 +00:00
artifact_test.go remove unused NewLocalArtifact 2018-11-02 14:22:01 -07:00
config_test.go move packer to hashicorp 2017-04-04 13:39:01 -07:00
driver.go fix silliness with pointers 2018-11-06 09:50:28 -08:00
driver_config.go use port as ints 2019-03-19 15:01:12 +01:00
driver_config_test.go builder/vmware/*: can specify path to fusion [GH-677] 2013-12-27 08:37:39 -07:00
driver_esx5.go allow a provisioner to timeout 2019-04-08 20:09:21 +02:00
driver_esx5_test.go use port as ints 2019-03-19 15:01:12 +01:00
driver_fusion5.go Add support to vmware-vmx builder for linked clones. 2018-06-17 01:38:42 +01:00
driver_fusion6.go vmware: Correctly parse version for VMware Fusion Tech Preview 2018-11-17 09:32:15 +01:00
driver_mock.go Add support to vmware-vmx builder for linked clones. 2018-06-17 01:38:42 +01: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_parser.go Handle multiple devices per VMware network type 2018-03-07 10:59:55 +01:00
driver_player5.go Add support to vmware-vmx builder for linked clones. 2018-06-17 01:38:42 +01:00
driver_player5_windows.go Completely forgot to support the unix paths in each of the drivers for the VMware builder. Fixed. 2018-02-02 19:11:41 -06:00
driver_player6.go Add cloneType to fusion driver 2018-06-30 16:31:42 +01: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 Modified the path finders for the Player driver in the vmware-builders to search through all the possible variations for dhcp configuration and leases.. 2018-03-30 18:19:25 -05:00
driver_workstation9.go Add support to vmware-vmx builder for linked clones. 2018-06-17 01:38:42 +01:00
driver_workstation9_windows.go Completely forgot to support the unix paths in each of the drivers for the VMware builder. Fixed. 2018-02-02 19:11:41 -06:00
driver_workstation10.go Add support to vmware-vmx builder for linked clones. 2018-06-17 01:38:42 +01: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 Reinforced the VMWare Workstation builder methodology for locating the dhcp.conf and dhcpd.leases files on Linux. 2018-02-14 00:11:17 -06:00
driver_workstation_unix_test.go test vmware workstation version checking 2018-01-26 15:58:17 -08:00
export_config.go remove redundant config; CommConfig was already a part of the SSSHConfig struct 2018-11-02 14:22:01 -07:00
host_ip_ifconfig.go builder/vmware: Try to use `ip address` to find host IP 2017-01-17 10:33:48 +01:00
hw_config.go Revert "Renamed the terse option, `cores`, to to the less-terse version `cores_per_socket`." 2019-01-17 14:49:07 -06:00
hw_config_test.go Added support for specifying the number of cores as `cores` to vmware-common. 2019-01-17 10:39:19 -06:00
output_config.go move packer to hashicorp 2017-04-04 13:39:01 -07:00
output_config_test.go move packer to hashicorp 2017-04-04 13:39:01 -07:00
output_dir.go remove unused NewLocalArtifact 2018-11-02 14:22:01 -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 spelling: output 2018-03-13 08:27:26 +00:00
remote_driver.go No need to make upload public. 2018-10-25 12:39:51 -07:00
remote_driver_mock.go No need to make upload public. 2018-10-25 12:39:51 -07:00
remote_driver_mock_test.go Move the remote_driver from iso to common. 2018-10-25 11:01:22 -07:00
run_config.go error on negative ports 2019-03-19 15:21:09 +01:00
shutdown_config.go move packer to hashicorp 2017-04-04 13:39:01 -07:00
shutdown_config_test.go builder/vmware/vmx: shutdown 2013-12-26 15:31:23 -07:00
ssh.go refactor all copy pasted sshConfig with into communicator.Config.SSHConfigFunc 2018-08-22 17:02:23 +02:00
ssh_config.go move packer to hashicorp 2017-04-04 13:39:01 -07:00
ssh_config_test.go SSHPrivateKey => SSHPrivateKeyFile 2018-08-29 14:40:32 +02:00
step_clean_files.go rename interpolation context from ctx to ictx and contexts to ctx to avoid conflicts 2019-04-03 15:56:15 +02:00
step_clean_vmx.go rename interpolation context from ctx to ictx and contexts to ctx to avoid conflicts 2019-04-03 15:56:15 +02:00
step_clean_vmx_test.go Added knowledge of the "temporaryDevices" statebag to the StepCleanVMX tests for the VMware builders. 2018-12-03 18:03:02 -06:00
step_compact_disk.go rename interpolation context from ctx to ictx and contexts to ctx to avoid conflicts 2019-04-03 15:56:15 +02:00
step_compact_disk_test.go Revert "Fix test - reporting compaction results requires a tmp file" 2018-05-16 13:52:00 +01:00
step_configure_vmx.go rename interpolation context from ctx to ictx and contexts to ctx to avoid conflicts 2019-04-03 15:56:15 +02:00
step_configure_vmx_test.go Test we halt if a bad path is set in vmx_path 2018-07-06 10:58:25 +01:00
step_configure_vnc.go StepConfigureVNC: close listener only once 2019-03-26 10:58:51 +01:00
step_configure_vnc_test.go Adds password protection for VNC on VMWare 2016-08-19 13:26:16 +02:00
step_export.go rename interpolation context from ctx to ictx and contexts to ctx to avoid conflicts 2019-04-03 15:56:15 +02:00
step_export_test.go Move step_export to common. 2018-10-25 12:55:10 -07:00
step_output_dir.go rename interpolation context from ctx to ictx and contexts to ctx to avoid conflicts 2019-04-03 15:56:15 +02:00
step_output_dir_test.go Remove tmp directories created by builder/vmware/common tests 2018-04-30 20:38:03 +01:00
step_prepare_tools.go rename interpolation context from ctx to ictx and contexts to ctx to avoid conflicts 2019-04-03 15:56:15 +02:00
step_prepare_tools_test.go test fixes WIP 2018-01-24 17:09:17 -08:00
step_register.go rename interpolation context from ctx to ictx and contexts to ctx to avoid conflicts 2019-04-03 15:56:15 +02:00
step_register_test.go fix tests 2018-11-02 15:44:27 -07:00
step_run.go rename interpolation context from ctx to ictx and contexts to ctx to avoid conflicts 2019-04-03 15:56:15 +02:00
step_run_test.go test fixes WIP 2018-01-24 17:09:17 -08:00
step_shutdown.go allow a provisioner to timeout 2019-04-08 20:09:21 +02:00
step_shutdown_test.go Remove tmp directories created by builder/vmware/common tests 2018-04-30 20:38:03 +01:00
step_suppress_messages.go rename interpolation context from ctx to ictx and contexts to ctx to avoid conflicts 2019-04-03 15:56:15 +02:00
step_suppress_messages_test.go test fixes WIP 2018-01-24 17:09:17 -08:00
step_test.go Added knowledge of the "temporaryDevices" statebag to the StepCleanVMX tests for the VMware builders. 2018-12-03 18:03:02 -06:00
step_type_boot_command.go use port as ints 2019-03-19 15:01:12 +01:00
step_upload_tools.go rename interpolation context from ctx to ictx and contexts to ctx to avoid conflicts 2019-04-03 15:56:15 +02:00
step_upload_vmx.go rename interpolation context from ctx to ictx and contexts to ctx to avoid conflicts 2019-04-03 15:56:15 +02:00
tools_config.go move packer to hashicorp 2017-04-04 13:39:01 -07:00
vmx.go spelling: multiples 2018-03-13 08:12:53 +00:00
vmx_config.go add new display_name template option 2018-11-09 10:54:31 -08:00
vmx_config_test.go Revert "Correctly call prepare function in test" 2016-02-02 12:41:37 -08:00
vmx_test.go go files are 0644 2017-04-25 12:50:58 -07:00