ironic-python-agent/ironic_python_agent
Steve Baker 215fecd447 Step to clean UEFI NVRAM entries
Adds a deploy step ``clean_uefi_nvram`` to remove unrequired extra UEFI
NVRAM boot entries. By default any entry matching ``HD`` as the root
device, or with a ``shim`` or ``grub`` efi file in the path will be
deleted, ensuring that disk based boot entries are removed before the
new entry is created for the written image. The ``match_patterns``
parameter allows a list of regular expressions to be passed, where a
case insensitive search in the device path will result in that entry
being deleted.

Closes-Bug: #2041901
Change-Id: I3559dc800fcdfb0322286eba30ce47041419b0c6
2024-04-11 01:17:23 +12:00
..
api Use Werkzeug modern version 2022-04-14 10:47:06 +00:00
cmd Support several API and Inspector URLs 2024-01-09 16:43:23 +01:00
extensions Import disk_{utils,partitioner} from ironic-lib 2024-03-15 18:45:04 +01:00
hardware_managers Add mlnx deploy_step entry to enable deploy time firmware 2023-08-31 06:35:39 -07:00
tests Step to clean UEFI NVRAM entries 2024-04-11 01:17:23 +12:00
__init__.py [trivial] Fix typo in __init__.py 2021-12-16 22:03:51 +01:00
agent.py Make inspection URL optional if the collectors are provided 2024-01-10 08:55:42 +01:00
burnin.py Burn-in: Dynamic network pairing 2022-01-10 11:31:33 +01:00
config.py Import disk_{utils,partitioner} from ironic-lib 2024-03-15 18:45:04 +01:00
disk_partitioner.py Import disk_{utils,partitioner} from ironic-lib 2024-03-15 18:45:04 +01:00
disk_utils.py Import disk_{utils,partitioner} from ironic-lib 2024-03-15 18:45:04 +01:00
dmi_inspector.py Collect processor, memory and BIOS output of dmidecode - follow-up 2017-07-27 07:30:54 -07:00
efi_utils.py Step to clean UEFI NVRAM entries 2024-04-11 01:17:23 +12:00
encoding.py Fix serializing ironic-lib exceptions 2020-07-02 12:18:53 +02:00
errors.py [codespell] Fix spelling issues in IPA 2023-12-28 10:54:46 -08:00
hardware.py Step to clean UEFI NVRAM entries 2024-04-11 01:17:23 +12:00
inject_files.py Import disk_{utils,partitioner} from ironic-lib 2024-03-15 18:45:04 +01:00
inspect.py [codespell] Fix spelling issues in IPA 2023-12-28 10:54:46 -08:00
inspector.py Merge "USB device discovery" 2024-03-28 21:22:53 +00:00
ironic_api_client.py Support several API and Inspector URLs 2024-01-09 16:43:23 +01:00
netutils.py Deprecate LLDP in inventory in favour of a new collector 2023-04-26 19:33:51 +00:00
numa_inspector.py Skip nic numa_node discovery if it's not assigned to a numa_node 2020-01-17 11:15:35 +01:00
partition_utils.py Import disk_{utils,partitioner} from ironic-lib 2024-03-15 18:45:04 +01:00
raid_utils.py Import disk_{utils,partitioner} from ironic-lib 2024-03-15 18:45:04 +01:00
tls_utils.py Trivial: avoid deprecated utcnow 2024-01-31 10:09:13 +01:00
utils.py [codespell] Fix spelling issues in IPA 2023-12-28 10:54:46 -08:00
version.py Remove importlib-metadata from requirements 2022-06-21 17:54:39 +02:00