packer-plugin-proxmox icon indicating copy to clipboard operation
packer-plugin-proxmox copied to clipboard

Support for UEFI boot on proxmox iso builder

Open hc-github-team-packer opened this issue 4 years ago • 5 comments

This issue was originally opened by @godambrosio in https://github.com/hashicorp/packer/issues/11295 and has been migrated to this repository. The original issue description is below.


Description

It will be good to have the option to select the boot type for the created vm. The possible values are: OVMF (UEFI) and SeaBIOS.

Use Case(s)

I want to deploy a Windows vm that needs to have the same configuration as the production for validation propose and the unattended file to install it needs a UEFI bios type.

hc-github-team-packer avatar Sep 29 '21 14:09 hc-github-team-packer

HI Packer Team,

Do you have any update on it?

leandroscardua avatar Nov 22 '21 21:11 leandroscardua

It seems, according to the documentation here, that there is already support for that. It is possible to choose OVMF and set the location of the dicks for UEFI through the bios and efidisk variables. But it also would be nice to have an example of efidisk usage in the doc because it is not exactly clear what kind of input is expected.

meaty-popsicle avatar Nov 23 '21 11:11 meaty-popsicle

Very Strange and Weird at same time

Looks like packer docs page has a behaviour when you uses Firefox, and another behaviour using chrome.

Please, check the images below, during the test i used: The url: https://www.packer.io/docs/builders/proxmox/iso instead to use the url shared by you, because of that I found that issue.

Using Firefox, the bios option is not visible. https://github.com/leandroscardua/images/blob/main/firefox.png

However, opening the same page with chrome, the information is there. https://github.com/leandroscardua/images/blob/main/chrome.png

@meaty-popsicle, I m using firefox and because of that, I didn t see the information related to bios. Thank you for your information. furthermore, Do you know who to escalate it Packer team?

leandroscardua avatar Nov 23 '21 14:11 leandroscardua

@leandroscardua It also seems that despite variables being in the documentation it is not recognized by packer and crash the build . Created issue #50 where you can check the manifest and crash log. Seems that it can be related to PR #18 submitter having issues with signing the CLA.

meaty-popsicle avatar Nov 23 '21 15:11 meaty-popsicle

Thank you @meaty-popsicle

Feel free to close this issues as we have on PR and another issue related to it.

Best Regards

leandroscardua avatar Nov 23 '21 15:11 leandroscardua