packer-cn/builder/qemu
Adrien Delorme 840e67f775
HCL2: when we see a map generate an attribute spec instead of a block spec (#9035)
* mapstructure-to-hcl2: when we see a map generate an attribute spec and not a block spec

this will alow to do

tags = {
 key = "value"
}

instead of

tags {
  key = "value"
}

This will also enable using variables directly for those tags

* generate code

* update tests
2020-04-14 16:05:13 +02:00
..
artifact.go fmt 2014-10-28 08:43:19 -07:00
builder.go Remove net_device prepare validation (#8979) 2020-04-02 11:34:05 +02:00
builder.hcl2spec.go HCL2: when we see a map generate an attribute spec instead of a block spec (#9035) 2020-04-14 16:05:13 +02:00
builder_test.go Format code with `gofmt -s -w` 2020-01-28 16:52:50 -05:00
driver.go builders: Fix gosimple S1007 linting issue (#8871) 2020-03-11 10:29:22 +01:00
ssh.go allow user to set winrm_host override like we do ssh_host override 2020-01-30 15:22:22 -08:00
step_configure_qmp.go delete qmp socket path. Also, clean up unnecessary use of statebag to recieve step values. (#8572) 2020-01-07 11:18:01 +01: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 Fix gosimple S1025 linting errors (#8838) 2020-03-04 15:31:30 -05:00
step_create_disk.go Fix gosimple S1025 linting errors (#8838) 2020-03-04 15:31:30 -05: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_http_ip_discover.go Add golangci-lint to project (#8686) 2020-02-14 11:42:29 -05:00
step_http_ip_discover_test.go Add golangci-lint to project (#8686) 2020-02-14 11:42:29 -05: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 Fix gosimple S1025 linting errors (#8838) 2020-03-04 15:31:30 -05:00
step_run.go Revert "fix: persist default drive/device" (#8440) 2019-12-03 13:42:11 +01: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 Extract http ip discover to a new step 2020-01-27 17:06:56 +01:00