diff options
Diffstat (limited to 'openbsd-image/openbsd-amd64.pkr.hcl')
| -rw-r--r-- | openbsd-image/openbsd-amd64.pkr.hcl | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/openbsd-image/openbsd-amd64.pkr.hcl b/openbsd-image/openbsd-amd64.pkr.hcl index 5d2c9f7..2fef98b 100644 --- a/openbsd-image/openbsd-amd64.pkr.hcl +++ b/openbsd-image/openbsd-amd64.pkr.hcl @@ -7,6 +7,7 @@ source "qemu" "openbsd-amd64" { machine_type = "q35" cpu_model = "max" accelerator = "tcg" + cpus = var.cpus memory = var.memory disk_interface = "virtio" disk_size = "${var.disk_size}G" @@ -20,7 +21,7 @@ source "qemu" "openbsd-amd64" { "/install.conf" = templatefile("${path.root}/templates/install.conf.pkrtpl.hcl", { hostname = var.hostname user = var.admin_user - ssh_key = var.ssh_public_key + ssh_key = var.ssh_key root_password = local.root_password mirror = var.mirror version = var.version @@ -31,7 +32,6 @@ source "qemu" "openbsd-amd64" { boot_command = [ "<wait>S<enter><wait>", - "set tty com0<enter><wait>", "autoinstall<enter><wait>", "http://{{ .HTTPIP }}:{{ .HTTPPort }}/install.conf<enter>", ] |