chore(tests): format packer files.

This commit is contained in:
Alexandre Pujol 2023-09-15 21:56:28 +01:00
parent f7d1931bdf
commit 1d68b5bbc4
No known key found for this signature in database
GPG key ID: C5469996F0DF68EC
4 changed files with 23 additions and 23 deletions

View file

@ -9,11 +9,11 @@ source "qemu" "debian-server" {
iso_target_path = "${var.iso_dir}/debian-cloudimg-amd64.img"
cpus = 4
memory = 2048
disk_size = "${var.disk_size}"
disk_size = var.disk_size
accelerator = "kvm"
headless = true
ssh_username = "${var.username}"
ssh_password = "${var.password}"
ssh_username = var.username
ssh_password = var.password
ssh_port = 22
ssh_wait_timeout = "1000s"
disk_compression = true
@ -22,7 +22,7 @@ source "qemu" "debian-server" {
output_directory = "${var.output}/"
vm_name = "${var.prefix}${source.name}.qcow2"
boot_wait = "10s"
firmware = "${var.firmware}"
firmware = var.firmware
shutdown_command = "echo ${var.password} | sudo -S /sbin/shutdown -hP now"
cd_label = "cidata"
cd_content = {