-
Notifications
You must be signed in to change notification settings - Fork 3.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
vmware-iso need add hpet to vmx template #10824
Comments
I also discovered this when trying to build an image for Windows Server vNext. On the vNext boots they would immediately BSOD. Interestingly enough, on packer v1.7.0 the vm would reboot several times, BSOD on each boot and eventually (maybe after a ~dozen reboots it would eventually boot up into the OOBE and go about the build. |
This issue has been automatically migrated to hashicorp/packer-plugin-vmware#16 because it looks like an issue with that plugin. If you believe this is not an issue with the plugin, please reply to hashicorp/packer-plugin-vmware#16. |
I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues. If you have found a problem that seems similar to this, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further. |
Overview of the Issue
vmware-iso builder is hardcoded a vmx template in
https://github.com/hashicorp/packer/blob/master/builder/vmware/iso/step_create_vmx.go
however, we noticed the hpet is missing from the template, which will result in some recent Windows releases behavior abnormally
for example, some Windows 10 will BSOD during reboot.
also some application unresponsive https://kb.vmware.com/s/article/67175
the VM created by VMware Product will add hpet by default.
VMware recommends enabling hpet to all VMware machine by setting
hpet0.present = "True"
in the vmx.
Reproduction Steps
Create a VM using vmware-iso builder,
and there is no 'hpet0.present = "True"' in the vmx
some recent Windows OS will BSOD during reboot.
after adding the hpet, the problem is gone.
Users can enable the hpet by themselves by adding it to vmx_data filed.
"vmx_data": {
"hpet0.present": "TRUE"
}
but it would be nice to have this setting as the default for vmware-iso builder.
Packer version
1.7.0
The text was updated successfully, but these errors were encountered: