Skip to content

Commit

Permalink
fix architecture var
Browse files Browse the repository at this point in the history
  • Loading branch information
ajanis committed May 10, 2024
1 parent 290453e commit 456333e
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions cableos/cableos-installer.pkr.hcl
Original file line number Diff line number Diff line change
Expand Up @@ -113,13 +113,13 @@ source "qemu" "cableos" {
iso_checksum = "none"
iso_url = "build_images/${var.live_iso}"
memory = 2048
qemu_binary = "qemu-system-${lookup(local.qemu_arch, var.architecture, "")}"
qemu_binary = "qemu-system-${lookup(local.qemu_arch, local.qemu_arch, "")}"
qemu_img_args {
create = ["-F", "qcow2"]
}
qemuargs = [
["-machine", "${lookup(local.qemu_machine, var.architecture, "")}"],
["-cpu", "${lookup(local.qemu_cpu, var.architecture, "")}"],
["-machine", "${lookup(local.qemu_machine, local.qemu_arch, "")}"],
["-cpu", "${lookup(local.qemu_cpu, local.qemu_arch, "")}"],
["-device", "virtio-gpu-pci"],
["-drive", "file=output-cableos-installer/${var.base_filename},format=qcow2"],
]
Expand Down

0 comments on commit 456333e

Please sign in to comment.