packer-cn/builder/qemu
Megan Marsh b54b778572 major refactor of the step_run. Splits step into two major parts:
- generating defaults
- overriding defaults with user args

The default generation has been shuffled around some, in order to
make sure that any changes to a specific arg happen in one place
to make it easier to reason about those args. Related args have
been moved close to one another.

The deviceArgs and driveArgs were overly complex after several
layers of copy/paste modifications. Careful pruning reduced the
layers of logic and repeated code, to help make it easier to reason
about.
2020-10-07 15:09:45 -07:00
..
artifact.go fmt 2014-10-28 08:43:19 -07:00
builder.go major refactor of the step_run. Splits step into two major parts: 2020-10-07 15:09:45 -07:00
builder_test.go qemu: split config and config tests into their own files to match best practices from other builders 2020-09-17 09:57:45 -07:00
comm_config.go only set up localhost port forwarding if skipnatmapping is false. 2020-06-24 10:40:42 -07:00
comm_config_test.go Refactor communicator config for Qemu and add SkipNatMapping option (#9307) 2020-06-02 11:56:36 +02:00
config.go review cleanup 2020-09-18 10:56:28 -07:00
config.hcl2spec.go add QemuImgArgs option to set specialized flags in qemu-img 2020-09-17 15:15:04 -07:00
config_test.go add QemuImgArgs option to set specialized flags in qemu-img 2020-09-17 15:15:04 -07:00
driver.go Skip qemu-img convert if format of output file matches format of input file. 2020-09-17 11:21:04 -07:00
driver_mock.go add QemuImgArgs option to set specialized flags in qemu-img 2020-09-17 15:15:04 -07:00
qmp.go qemu: add support for using a network bridge 2020-05-20 16:46:32 -07:00
ssh.go Refactor communicator config for Qemu and add SkipNatMapping option (#9307) 2020-06-02 11:56:36 +02:00
step_configure_qmp.go qemu: add support for using a network bridge 2020-05-20 16:46:32 -07: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 QemuImgArgs option to set specialized flags in qemu-img 2020-09-17 15:15:04 -07:00
step_convert_disk_test.go add QemuImgArgs option to set specialized flags in qemu-img 2020-09-17 15:15:04 -07:00
step_copy_disk.go add QemuImgArgs option to set specialized flags in qemu-img 2020-09-17 15:15:04 -07:00
step_copy_disk_test.go add QemuImgArgs option to set specialized flags in qemu-img 2020-09-17 15:15:04 -07:00
step_create_disk.go add QemuImgArgs option to set specialized flags in qemu-img 2020-09-17 15:15:04 -07:00
step_create_disk_test.go add QemuImgArgs option to set specialized flags in qemu-img 2020-09-17 15:15:04 -07:00
step_http_ip_discover.go qemu: add support for using a network bridge 2020-05-20 16:46:32 -07:00
step_http_ip_discover_test.go qemu: add support for using a network bridge 2020-05-20 16:46:32 -07:00
step_port_forward.go refactor multistep array construction in qemu builder to push majority of conditionals into their steps rather than the multistep constructor code. 2020-09-17 09:57:45 -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 add QemuImgArgs option to set specialized flags in qemu-img 2020-09-17 15:15:04 -07:00
step_resize_disk_test.go add QemuImgArgs option to set specialized flags in qemu-img 2020-09-17 15:15:04 -07:00
step_run.go major refactor of the step_run. Splits step into two major parts: 2020-10-07 15:09:45 -07:00
step_run_test.go major refactor of the step_run. Splits step into two major parts: 2020-10-07 15:09:45 -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_test.go [builder/qemu] Skip resize step when skip_resize_disk is enable #9860 (#9896) 2020-09-08 14:32:08 -04:00
step_type_boot_command.go Replace file shared state by statebag (#9238) 2020-05-19 11:49:48 +02:00
step_wait_guest_address.go miscellaneous qemu cleanup. Fix generator strings; generate code 2020-09-17 09:57:45 -07:00