packer-cn/builder/qemu
Adrien Delorme 819329228a Change back to make sure all durations are a time.Duration
It is simply the best/simplest solution and trying to prevent users from passing and integer here would be like opening a can of worms. Because:

* we cannot make mapstructure validate our duration string ( with an UnmarshalJSON func etc.)
* we cannot make mapstructure spit a string instead of a duration and packer will decode-encode-decode config.
* the hcl2 generated code asks for a string, so this will be enforced by default.
2019-10-31 16:12:07 +01:00
..
artifact.go fmt 2014-10-28 08:43:19 -07:00
builder.go Change back to make sure all durations are a time.Duration 2019-10-31 16:12:07 +01:00
builder.hcl2spec.go Force durations to be passed a strings 2019-10-31 11:47:19 +01:00
builder_test.go Revert "Qemu builder disk size as a string" 2019-10-14 13:09:22 -07:00
driver.go move multistep imports to helper. 2018-01-24 17:09:15 -08:00
ssh.go allow ssh_host config option to override host logic for all builders 2019-07-02 13:56:28 -07:00
step_configure_qmp.go QEMU: Remove QMPEnable and depend upon VNC password usage for QMP enablement. 2019-07-16 08:56:22 -06:00
step_configure_vnc.go Add VNC Password support to QEMU builder 2019-07-03 18:38:56 -06:00
step_convert_disk.go Add additional disk support for QEMU builder. 2019-06-24 17:35:06 -06:00
step_copy_disk.go Add additional disk support for QEMU builder. 2019-06-24 17:35:06 -06:00
step_create_disk.go Revert "Qemu builder disk size as a string" 2019-10-14 13:09:22 -07:00
step_forward_ssh.go fix copypasta mistake switching ssh port mix/max for vnc port min/max 2019-05-06 15:01:09 -07:00
step_prepare_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_resize_disk.go Revert "Qemu builder disk size as a string" 2019-10-14 13:09:22 -07:00
step_run.go builder/qemu: Fix dropped error 2019-08-29 05:13:46 -07:00
step_set_iso.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 Change back to make sure all durations are a time.Duration 2019-10-31 16:12:07 +01:00
step_type_boot_command.go Change back to make sure all durations are a time.Duration 2019-10-31 16:12:07 +01:00