From 49e3ea40dce4ac9ce0e2356b067c759e32b050f1 Mon Sep 17 00:00:00 2001 From: Alan Baghumian Date: Fri, 17 May 2024 13:17:30 -0700 Subject: [PATCH] Additional ESXi updates (#230) - Added upstream packer install link to README.md. - Added -enable-kvm qemu argument to prevent host requires kvm of hvf error on build. --- vmware-esxi/README.md | 2 +- vmware-esxi/vmware-esxi.pkr.hcl | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/vmware-esxi/README.md b/vmware-esxi/README.md index 8b38707..e4596e7 100644 --- a/vmware-esxi/README.md +++ b/vmware-esxi/README.md @@ -26,7 +26,7 @@ * qemu-block-extra * qemu-system-x86 * qemu-utils -* Packer - from upstream repository, v1.9.0 or newer +* Packer - Install from [upstream repository](https://developer.hashicorp.com/packer/install), v1.9.0 or newer * The VMware ESXi installation ISO must be downloaded manually. You can download it [here.](https://www.vmware.com/go/get-free-esxi) ## Requirements (to deploy the image) diff --git a/vmware-esxi/vmware-esxi.pkr.hcl b/vmware-esxi/vmware-esxi.pkr.hcl index cbb6e5b..9721aef 100644 --- a/vmware-esxi/vmware-esxi.pkr.hcl +++ b/vmware-esxi/vmware-esxi.pkr.hcl @@ -33,7 +33,7 @@ source "qemu" "esxi" { iso_url = var.vmware_esxi_iso_path memory = 4096 net_device = "vmxnet3" - qemuargs = [["-cpu", "host"], ["-smp", "2,sockets=2,cores=1,threads=1"], ["-serial", "stdio"]] + qemuargs = [["-cpu", "host"], ["-smp", "2,sockets=2,cores=1,threads=1"], ["-serial", "stdio"], ["-enable-kvm"]] shutdown_timeout = var.timeout }