From 107318517e929e02feadc1180a6583f054097f6c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Johan=20Eckerstr=C3=B6m?= Date: Fri, 22 Mar 2024 07:00:20 +0100 Subject: [PATCH] Build box with multiple CPUs to get GENERIC.mp kernel Without the multi processor (mp) kernel, we can't use more CPUs in Vagrant. vmx value found at https://developer.hashicorp.com/vagrant/docs/providers/vmware/configuration#vmx-customization --- openbsd/vmware-vmx.pkr.hcl | 1 + 1 file changed, 1 insertion(+) diff --git a/openbsd/vmware-vmx.pkr.hcl b/openbsd/vmware-vmx.pkr.hcl index f002440..1cb8325 100644 --- a/openbsd/vmware-vmx.pkr.hcl +++ b/openbsd/vmware-vmx.pkr.hcl @@ -84,6 +84,7 @@ source "vmware-vmx" "openbsd" { vmx_remove_ethernet_interfaces = true # https://github.com/hashicorp/packer-plugin-vmware/blob/v1.0.10/example/pkrvars/debian/fusion-13.pkrvars.hcl vmx_data = { + "numvcpus" = "2" "cpuid.coresPerSocket" = "2" "ethernet0.pciSlotNumber" = "32" "svga.autodetect" = true