reorder-uefi-boot-order¶
Make sure the UEFI boot order has current-boot-entry first.
Certain Linux distributions and Windows installations reorder the UEFI boot options to always boot locally first, which makes it harder for dr-provision to regain control of the machine via PXE boot to Sledgehammer.
This task rewrites the UEFI boot order to place the entry recorded in current-boot-entry first. On Linux, uses efibootmgr. On ESXi, uses the VMware bootorder utility. On Windows, uses bcdedit against the firmware boot manager ({fwbootmgr}) to permanently set the network/PXE entry first.
Objects that Reference reorder-uefi-boot-order¶
- stages esxi-reorder-uefi-bootorder in VMWare Support as part of Tasks (declared)
- stages reorder-uefi-bootorder in Community Core as part of Tasks (declared)
- stages set-uefi-boot-order in Community Core as part of Tasks (declared)
Objects used by reorder-uefi-boot-order¶
- templates setup.tmpl
- params current-boot-entry
- params current-boot-entry
- params current-boot-entry-fullpath
- params current-boot-entry