packer-cn/builder/virtualbox/common
Adrien Delorme bf3d9841c6 Force durations to be passed a strings
Before this commit it was possible to set a duration using an integer or a float. Go's time.Duration is an int64 internally an mapstructure will take advantage of this and load the number as a int64 but `1` means one ns which is unexpected/confusing. To avoid confusion and enforce readability this forces users to pass a string with a unit for a duration; ex "56s".
2019-10-31 11:47:19 +01: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
driver.go First version of reworked snapshot implementation 2019-07-26 12:29:45 +02:00
driver_4_2.go fix(virtualbox) LoadSnapshots should succeed even if VM has no snapshots 2019-09-12 10:51:12 +02:00
driver_4_2_test.go builder/virtualbox/common: Move Driver here 2013-12-21 15:00:48 -08:00
driver_mock.go Applied correct source format (got fmt) to builder\virtualbox\common\driver_mock.go 2019-07-26 12:34:26 +02:00
export_config.go virtualbox: merge ExportOpts and ExportConfig structs 2019-06-19 16:35:15 +02:00
export_config_test.go virtualbox: merge ExportOpts and ExportConfig structs 2019-06-19 16:35:15 +02:00
guest_additions_config.go make fmt autogenerated docs 2019-06-06 16:29:25 +02:00
guest_additions_config_test.go use interpolate.NewContext() instead of testConfigTemplate(t) 2019-06-14 12:17:28 +02:00
hw_config.go make fmt autogenerated docs 2019-06-06 16:29:25 +02:00
hw_config_test.go use interpolate.NewContext() instead of testConfigTemplate(t) 2019-06-14 12:17:28 +02:00
output_config.go make fmt autogenerated docs 2019-06-06 16:29:25 +02:00
output_config_test.go use interpolate.NewContext() instead of testConfigTemplate(t) 2019-06-14 12:17:28 +02:00
run_config.go make fmt autogenerated docs 2019-06-06 16:29:25 +02:00
run_config_test.go use interpolate.NewContext() instead of testConfigTemplate(t) 2019-06-14 12:17:28 +02:00
shutdown_config.go Force durations to be passed a strings 2019-10-31 11:47:19 +01:00
shutdown_config_test.go Force durations to be passed a strings 2019-10-31 11:47:19 +01:00
snapshot.go Fixed a bug in ParseSnapshotData 2019-07-26 12:34:26 +02:00
snapshot_test.go Added test TestSnapshot_EnsureParents 2019-07-26 12:34:27 +02:00
ssh.go use port as ints 2019-03-19 15:01:12 +01:00
ssh_config.go Force durations to be passed a strings 2019-10-31 11:47:19 +01:00
ssh_config_test.go use interpolate.NewContext() instead of testConfigTemplate(t) 2019-06-14 12:17:28 +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 dont bother with a targetpath for the vbox additions; use a hash like everything else 2019-08-15 15:10:25 -07: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 First working version of virtualbox/vm builder 2019-07-26 12:29:44 +02:00
step_remove_devices.go move retry code into the common/retry pkg and make retry context aware 2019-04-09 17:46:38 +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 StepShutdown now always waits for the shutdown of the virtual machine to complete, not only if a shutdown command is specified 2019-07-26 12:34:27 +02:00
step_shutdown_test.go Update step_shutdown_test.go 2019-09-10 13:07:30 +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 make fmt autogenerated docs 2019-06-06 16:29:25 +02:00
vbox_version_config_test.go use interpolate.NewContext() instead of testConfigTemplate(t) 2019-06-14 12:17:28 +02:00
vboxbundle_config.go make fmt autogenerated docs 2019-06-06 16:29:25 +02:00
vboxbundle_config_test.go use interpolate.NewContext() instead of testConfigTemplate(t) 2019-06-14 12:17:28 +02:00
vboxmanage_config.go virtualbox merge vbpx manage configs 2019-06-19 17:07:23 +02:00
vboxmanage_config_test.go virtualbox merge vbpx manage configs 2019-06-19 17:07:23 +02:00