record-current-uefi-boot-entry¶
Record the current UEFI boot entry
Records the current UEFI network/PXE boot entry to the current-boot-entry param so it can be restored later in the machine lifecycle.
On Linux, uses efibootmgr to identify the active boot entry via BootCurrent, falling back to a heuristic regex match against current-boot-entry-heuristic-regex if BootCurrent is not available.
On Windows, uses bcdedit to enumerate all firmware boot entries and matches against current-boot-entry-heuristic-regex to find the network/PXE entry. The entry GUID is stored without curly braces to satisfy the string param type.
Objects that Reference record-current-uefi-boot-entry¶
- stages discover in Community Core as part of Tasks (declared)
- stages record-current-uefi-boot-entry in Community Core as part of Tasks (declared)
Objects used by record-current-uefi-boot-entry¶
- params rs-debug-enable
- params current-boot-entry-heuristic-regex
- params current-boot-entry-heuristic-regex