Skip to content

Commit

Permalink
Additional ESXi updates (#230)
Browse files Browse the repository at this point in the history
- Added upstream packer install link to README.md.
- Added -enable-kvm qemu argument to prevent host requires kvm of hvf
error on build.
  • Loading branch information
alanbach authored May 17, 2024
1 parent 1c81266 commit 49e3ea4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion vmware-esxi/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
2 changes: 1 addition & 1 deletion vmware-esxi/vmware-esxi.pkr.hcl
Original file line number Diff line number Diff line change
Expand Up @@ -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
}

Expand Down

0 comments on commit 49e3ea4

Please sign in to comment.