Lots of improvements everywhere

This commit is contained in:
Greg Hellings
2023-08-03 14:44:02 -05:00
parent 0a3832d2c4
commit bb63ff7534
44 changed files with 388 additions and 249 deletions
+6 -1
View File
@@ -15,6 +15,7 @@ source "qemu" "x86_64" {
ssh_username = local.ssh.username
ssh_password = local.ssh.password
ssh_handshake_attempts = local.ssh.handshake_attempts
ssh_private_key_file = local.ssh.private_key_file
vm_name = "packer-${local.name}"
disk_size = "${local.disk_size}G"
@@ -23,11 +24,15 @@ source "qemu" "x86_64" {
headless = var.headless
disk_cache = "writeback"
format = "qcow2"
cpu_model = "host"
qemuargs = [
["-chardev", "stdio,id=char0,logfile=serial-output-qemu-${var.arch}-${var.distro}-${var.version},signal=off"],
["-serial", "chardev:char0"]
]
http_directory = "http"
accelerator = var.qemu_accelerator
http_directory = "http"
cd_files = var.cd_files
cd_label = var.cd_label
}