test: improve VM image creation.
This commit is contained in:
parent
62cb1d9b96
commit
537e34739d
7 changed files with 19 additions and 6 deletions
|
|
@ -22,7 +22,7 @@ source "qemu" "debian-server" {
|
|||
output_directory = "${var.output}/"
|
||||
vm_name = "${var.prefix}${source.name}.qcow2"
|
||||
boot_wait = "10s"
|
||||
firmware = "/usr/share/edk2-ovmf/x64/OVMF_CODE.fd"
|
||||
firmware = "${var.firmware}"
|
||||
shutdown_command = "echo ${var.password} | sudo -S /sbin/shutdown -hP now"
|
||||
cd_label = "cidata"
|
||||
cd_content = {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue