Skip to content

Commit

Permalink
Revert "podvm: change default cpu_model for CentOS"
Browse files Browse the repository at this point in the history
This reverts commit 90ccfc3.
  • Loading branch information
wainersm committed Nov 10, 2023
1 parent acee7cc commit 88f08d1
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions podvm/qcow2/centos/qemu-centos.pkr.hcl
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ locals {
machine_type = "${var.os_arch}" == "x86_64" && "${var.is_uefi}" ? "q35" : "${var.machine_type}"
use_pflash = "${var.os_arch}" == "x86_64" && "${var.is_uefi}" ? "true" : "false"
firmware = "${var.os_arch}" == "x86_64" && "${var.is_uefi}" ? "${var.uefi_firmware}" : ""
cpu_model = "${var.os_arch}" == "x86_64" ? "Skylake-Client" : ""
}

source "qemu" "centos" {
Expand All @@ -24,7 +23,6 @@ source "qemu" "centos" {
vm_name = "${var.qemu_image_name}"
shutdown_command = "sudo shutdown -h now"
machine_type = "${local.machine_type}"
cpu_model = "${local.cpu_model}"
use_pflash = "${local.use_pflash}"
firmware = "${local.firmware}"
}
Expand Down

0 comments on commit 88f08d1

Please sign in to comment.