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,17 +9,17 @@ source "qemu" "archlinux-gnome" {
iso_target_path = "${var.iso_dir}/archlinux-cloudimg-amd64.img"
cpus = 6
memory = 4096
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
disk_detect_zeroes = "unmap"
disk_discard = "unmap"
output_directory = "${var.output}"
output_directory = var.output
vm_name = "${var.prefix}${source.name}.qcow2"
boot_wait = "10s"
shutdown_command = "echo ${var.password} | sudo -S shutdown -hP now"
@ -44,17 +44,17 @@ source "qemu" "archlinux-kde" {
iso_target_path = "${var.iso_dir}/archlinux-cloudimg-amd64.img"
cpus = 6
memory = 4096
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
disk_detect_zeroes = "unmap"
disk_discard = "unmap"
output_directory = "${var.output}"
output_directory = var.output
vm_name = "${var.prefix}${source.name}.qcow2"
boot_wait = "10s"
shutdown_command = "echo ${var.password} | sudo -S shutdown -hP now"

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 = {

View File

@ -15,11 +15,11 @@ source "qemu" "opensuse-kde" {
iso_target_path = "${var.iso_dir}/base_opensuse_kde.qcow2"
cpus = 6
memory = 4096
disk_size = "${var.disk_size}"
disk_size = var.disk_size
accelerator = "kvm"
headless = false
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
@ -28,7 +28,7 @@ source "qemu" "opensuse-kde" {
output_directory = "${var.iso_dir}/packer/"
vm_name = "${var.prefix}${source.name}.qcow2"
boot_wait = "10s"
firmware = "${var.firmware}"
firmware = var.firmware
shutdown_command = "echo ${var.password} | sudo shutdown -hP now"
cd_label = "cidata"
cd_content = {

View File

@ -9,11 +9,11 @@ source "qemu" "ubuntu-server" {
iso_target_path = "${var.iso_dir}/ubuntu-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" "ubuntu-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 = {
@ -48,8 +48,8 @@ source "qemu" "ubuntu-desktop" {
disk_size = "40G"
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 = "10000s"
disk_compression = true
@ -58,7 +58,7 @@ source "qemu" "ubuntu-desktop" {
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 = {