mirror of
https://github.com/roddhjav/apparmor.d.git
synced 2024-11-14 23:43:56 +01:00
chore(tests): format packer files.
This commit is contained in:
parent
f7d1931bdf
commit
1d68b5bbc4
@ -9,17 +9,17 @@ source "qemu" "archlinux-gnome" {
|
|||||||
iso_target_path = "${var.iso_dir}/archlinux-cloudimg-amd64.img"
|
iso_target_path = "${var.iso_dir}/archlinux-cloudimg-amd64.img"
|
||||||
cpus = 6
|
cpus = 6
|
||||||
memory = 4096
|
memory = 4096
|
||||||
disk_size = "${var.disk_size}"
|
disk_size = var.disk_size
|
||||||
accelerator = "kvm"
|
accelerator = "kvm"
|
||||||
headless = true
|
headless = true
|
||||||
ssh_username = "${var.username}"
|
ssh_username = var.username
|
||||||
ssh_password = "${var.password}"
|
ssh_password = var.password
|
||||||
ssh_port = 22
|
ssh_port = 22
|
||||||
ssh_wait_timeout = "1000s"
|
ssh_wait_timeout = "1000s"
|
||||||
disk_compression = true
|
disk_compression = true
|
||||||
disk_detect_zeroes = "unmap"
|
disk_detect_zeroes = "unmap"
|
||||||
disk_discard = "unmap"
|
disk_discard = "unmap"
|
||||||
output_directory = "${var.output}"
|
output_directory = var.output
|
||||||
vm_name = "${var.prefix}${source.name}.qcow2"
|
vm_name = "${var.prefix}${source.name}.qcow2"
|
||||||
boot_wait = "10s"
|
boot_wait = "10s"
|
||||||
shutdown_command = "echo ${var.password} | sudo -S shutdown -hP now"
|
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"
|
iso_target_path = "${var.iso_dir}/archlinux-cloudimg-amd64.img"
|
||||||
cpus = 6
|
cpus = 6
|
||||||
memory = 4096
|
memory = 4096
|
||||||
disk_size = "${var.disk_size}"
|
disk_size = var.disk_size
|
||||||
accelerator = "kvm"
|
accelerator = "kvm"
|
||||||
headless = true
|
headless = true
|
||||||
ssh_username = "${var.username}"
|
ssh_username = var.username
|
||||||
ssh_password = "${var.password}"
|
ssh_password = var.password
|
||||||
ssh_port = 22
|
ssh_port = 22
|
||||||
ssh_wait_timeout = "1000s"
|
ssh_wait_timeout = "1000s"
|
||||||
disk_compression = true
|
disk_compression = true
|
||||||
disk_detect_zeroes = "unmap"
|
disk_detect_zeroes = "unmap"
|
||||||
disk_discard = "unmap"
|
disk_discard = "unmap"
|
||||||
output_directory = "${var.output}"
|
output_directory = var.output
|
||||||
vm_name = "${var.prefix}${source.name}.qcow2"
|
vm_name = "${var.prefix}${source.name}.qcow2"
|
||||||
boot_wait = "10s"
|
boot_wait = "10s"
|
||||||
shutdown_command = "echo ${var.password} | sudo -S shutdown -hP now"
|
shutdown_command = "echo ${var.password} | sudo -S shutdown -hP now"
|
||||||
|
@ -9,11 +9,11 @@ source "qemu" "debian-server" {
|
|||||||
iso_target_path = "${var.iso_dir}/debian-cloudimg-amd64.img"
|
iso_target_path = "${var.iso_dir}/debian-cloudimg-amd64.img"
|
||||||
cpus = 4
|
cpus = 4
|
||||||
memory = 2048
|
memory = 2048
|
||||||
disk_size = "${var.disk_size}"
|
disk_size = var.disk_size
|
||||||
accelerator = "kvm"
|
accelerator = "kvm"
|
||||||
headless = true
|
headless = true
|
||||||
ssh_username = "${var.username}"
|
ssh_username = var.username
|
||||||
ssh_password = "${var.password}"
|
ssh_password = var.password
|
||||||
ssh_port = 22
|
ssh_port = 22
|
||||||
ssh_wait_timeout = "1000s"
|
ssh_wait_timeout = "1000s"
|
||||||
disk_compression = true
|
disk_compression = true
|
||||||
@ -22,7 +22,7 @@ source "qemu" "debian-server" {
|
|||||||
output_directory = "${var.output}/"
|
output_directory = "${var.output}/"
|
||||||
vm_name = "${var.prefix}${source.name}.qcow2"
|
vm_name = "${var.prefix}${source.name}.qcow2"
|
||||||
boot_wait = "10s"
|
boot_wait = "10s"
|
||||||
firmware = "${var.firmware}"
|
firmware = var.firmware
|
||||||
shutdown_command = "echo ${var.password} | sudo -S /sbin/shutdown -hP now"
|
shutdown_command = "echo ${var.password} | sudo -S /sbin/shutdown -hP now"
|
||||||
cd_label = "cidata"
|
cd_label = "cidata"
|
||||||
cd_content = {
|
cd_content = {
|
||||||
|
@ -15,11 +15,11 @@ source "qemu" "opensuse-kde" {
|
|||||||
iso_target_path = "${var.iso_dir}/base_opensuse_kde.qcow2"
|
iso_target_path = "${var.iso_dir}/base_opensuse_kde.qcow2"
|
||||||
cpus = 6
|
cpus = 6
|
||||||
memory = 4096
|
memory = 4096
|
||||||
disk_size = "${var.disk_size}"
|
disk_size = var.disk_size
|
||||||
accelerator = "kvm"
|
accelerator = "kvm"
|
||||||
headless = false
|
headless = false
|
||||||
ssh_username = "${var.username}"
|
ssh_username = var.username
|
||||||
ssh_password = "${var.password}"
|
ssh_password = var.password
|
||||||
ssh_port = 22
|
ssh_port = 22
|
||||||
ssh_wait_timeout = "1000s"
|
ssh_wait_timeout = "1000s"
|
||||||
disk_compression = true
|
disk_compression = true
|
||||||
@ -28,7 +28,7 @@ source "qemu" "opensuse-kde" {
|
|||||||
output_directory = "${var.iso_dir}/packer/"
|
output_directory = "${var.iso_dir}/packer/"
|
||||||
vm_name = "${var.prefix}${source.name}.qcow2"
|
vm_name = "${var.prefix}${source.name}.qcow2"
|
||||||
boot_wait = "10s"
|
boot_wait = "10s"
|
||||||
firmware = "${var.firmware}"
|
firmware = var.firmware
|
||||||
shutdown_command = "echo ${var.password} | sudo shutdown -hP now"
|
shutdown_command = "echo ${var.password} | sudo shutdown -hP now"
|
||||||
cd_label = "cidata"
|
cd_label = "cidata"
|
||||||
cd_content = {
|
cd_content = {
|
||||||
|
@ -9,11 +9,11 @@ source "qemu" "ubuntu-server" {
|
|||||||
iso_target_path = "${var.iso_dir}/ubuntu-cloudimg-amd64.img"
|
iso_target_path = "${var.iso_dir}/ubuntu-cloudimg-amd64.img"
|
||||||
cpus = 4
|
cpus = 4
|
||||||
memory = 2048
|
memory = 2048
|
||||||
disk_size = "${var.disk_size}"
|
disk_size = var.disk_size
|
||||||
accelerator = "kvm"
|
accelerator = "kvm"
|
||||||
headless = true
|
headless = true
|
||||||
ssh_username = "${var.username}"
|
ssh_username = var.username
|
||||||
ssh_password = "${var.password}"
|
ssh_password = var.password
|
||||||
ssh_port = 22
|
ssh_port = 22
|
||||||
ssh_wait_timeout = "1000s"
|
ssh_wait_timeout = "1000s"
|
||||||
disk_compression = true
|
disk_compression = true
|
||||||
@ -22,7 +22,7 @@ source "qemu" "ubuntu-server" {
|
|||||||
output_directory = "${var.output}/"
|
output_directory = "${var.output}/"
|
||||||
vm_name = "${var.prefix}${source.name}.qcow2"
|
vm_name = "${var.prefix}${source.name}.qcow2"
|
||||||
boot_wait = "10s"
|
boot_wait = "10s"
|
||||||
firmware = "${var.firmware}"
|
firmware = var.firmware
|
||||||
shutdown_command = "echo ${var.password} | sudo -S /sbin/shutdown -hP now"
|
shutdown_command = "echo ${var.password} | sudo -S /sbin/shutdown -hP now"
|
||||||
cd_label = "cidata"
|
cd_label = "cidata"
|
||||||
cd_content = {
|
cd_content = {
|
||||||
@ -48,8 +48,8 @@ source "qemu" "ubuntu-desktop" {
|
|||||||
disk_size = "40G"
|
disk_size = "40G"
|
||||||
accelerator = "kvm"
|
accelerator = "kvm"
|
||||||
headless = true
|
headless = true
|
||||||
ssh_username = "${var.username}"
|
ssh_username = var.username
|
||||||
ssh_password = "${var.password}"
|
ssh_password = var.password
|
||||||
ssh_port = 22
|
ssh_port = 22
|
||||||
ssh_wait_timeout = "10000s"
|
ssh_wait_timeout = "10000s"
|
||||||
disk_compression = true
|
disk_compression = true
|
||||||
@ -58,7 +58,7 @@ source "qemu" "ubuntu-desktop" {
|
|||||||
output_directory = "${var.output}/"
|
output_directory = "${var.output}/"
|
||||||
vm_name = "${var.prefix}${source.name}.qcow2"
|
vm_name = "${var.prefix}${source.name}.qcow2"
|
||||||
boot_wait = "10s"
|
boot_wait = "10s"
|
||||||
firmware = "${var.firmware}"
|
firmware = var.firmware
|
||||||
shutdown_command = "echo ${var.password} | sudo -S /sbin/shutdown -hP now"
|
shutdown_command = "echo ${var.password} | sudo -S /sbin/shutdown -hP now"
|
||||||
cd_label = "cidata"
|
cd_label = "cidata"
|
||||||
cd_content = {
|
cd_content = {
|
||||||
|
Loading…
Reference in New Issue
Block a user