packer-cn/builder/virtualbox/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 move packer to hashicorp 2017-04-04 13:39:01 -07:00
artifact_test.go move packer to hashicorp 2017-04-04 13:39:01 -07:00
config_test.go move packer to hashicorp 2017-04-04 13:39:01 -07:00
driver.go Add sata_port_count so that a SATA controller can be created with more than 1 port. The default of prevents additional drives being added. Default preserved if not overridden. 2017-03-22 23:09:25 +11:00
driver_4_2.go change Builder to be passed a context for cancellation 2019-04-03 15:55:55 +02:00
driver_4_2_test.go builder/virtualbox/common: Move Driver here 2013-12-21 15:00:48 -08:00
driver_mock.go Fix for DriverMock not implementing Driver 2017-03-23 12:11:19 +11:00
export_config.go spelling: mapstructure 2018-03-13 08:09:41 +00:00
export_config_test.go spelling: illegal 2018-03-13 08:02:43 +00:00
export_opts.go move packer to hashicorp 2017-04-04 13:39:01 -07:00
export_opts_test.go Fix export opts tests 2014-03-14 13:22:44 -03:00
guest_additions_config.go Validate virtualbox_version_file and guest_additions_mode when communicator is none 2019-03-16 18:15:27 +02:00
guest_additions_config_test.go Add tests to validate 'none' communicator in the virtualbox builder 2019-03-16 18:18:29 +02:00
hw_config.go Updated things related to the general hw config in the virtualbox builders to correspond to @azr's suggestions. 2018-11-22 20:48:00 -06:00
hw_config_test.go Added options for the cpu count, memory, audio, and usb to the virtualbox builder. 2018-11-17 06:19:54 -06:00
output_config.go move packer to hashicorp 2017-04-04 13:39:01 -07:00
output_config_test.go run goimports 2018-01-22 17:21:10 -08:00
run_config.go use port as ints 2019-03-19 15:01:12 +01:00
run_config_test.go implement boot config struct for virtualbox 2018-04-19 14:26:31 -07:00
shutdown_config.go move packer to hashicorp 2017-04-04 13:39:01 -07:00
shutdown_config_test.go Add VirtualBox post shutdown delay to address floppy controller delete error per issue #2401 2016-10-02 13:12:40 -05:00
ssh.go use port as ints 2019-03-19 15:01:12 +01:00
ssh_config.go use port as ints 2019-03-19 15:01:12 +01:00
ssh_config_test.go SSHPrivateKey => SSHPrivateKeyFile 2018-08-29 14:40:32 +02:00
step_attach_floppy.go rename interpolation context from ctx to ictx and contexts to ctx to avoid conflicts 2019-04-03 15:56:15 +02:00
step_attach_floppy_test.go test fixes WIP 2018-01-24 17:09:17 -08:00
step_attach_guest_additions.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_vrdp.go use port as ints 2019-03-19 15:01:12 +01:00
step_download_guest_additions.go Use the hashicorp/go-getter to download files 2019-03-13 12:11:58 +01: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 test fixes WIP 2018-01-24 17:09:17 -08:00
step_forward_ssh.go use port as ints 2019-03-19 15:01:12 +01:00
step_remove_devices.go rename interpolation context from ctx to ictx and contexts to ctx to avoid conflicts 2019-04-03 15:56:15 +02:00
step_remove_devices_test.go test fixes WIP 2018-01-24 17:09:17 -08: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_shutdown.go allow a provisioner to timeout 2019-04-08 20:09:21 +02:00
step_shutdown_test.go make TestStepShutdown_shutdownDelay less strict on schedule 2018-10-17 12:49:38 +02:00
step_ssh_key_pair.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.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 fix imports 2018-01-24 17:09:17 -08:00
step_type_boot_command.go use port as ints 2019-03-19 15:01:12 +01:00
step_upload_guest_additions.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_version.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_version_test.go test fixes WIP 2018-01-24 17:09:17 -08:00
step_vboxmanage.go rename interpolation context from ctx to ictx and contexts to ctx to avoid conflicts 2019-04-03 15:56:15 +02:00
vbox_version_config.go Validate virtualbox_version_file and guest_additions_mode when communicator is none 2019-03-16 18:15:27 +02:00
vbox_version_config_test.go Add tests to validate 'none' communicator in the virtualbox builder 2019-03-16 18:18:29 +02:00
vboxbundle_config.go gofmt 2018-11-27 09:31:01 -08:00
vboxbundle_config_test.go fix tests 2018-11-27 09:31:01 -08:00
vboxmanage_config.go move packer to hashicorp 2017-04-04 13:39:01 -07:00
vboxmanage_config_test.go run gofmt 2016-11-01 14:08:04 -07:00
vboxmanage_post_config.go move packer to hashicorp 2017-04-04 13:39:01 -07:00
vboxmanage_post_config_test.go run gofmt 2016-11-01 14:08:04 -07:00