Fix boot source override
This commit is contained in:
parent
6acacc153c
commit
405b4a63f7
|
@ -632,7 +632,7 @@ def set_boot_override(session, system_root, redfish_vendor, target):
|
|||
logger.warn(f"Failed to set boot override, key {target} not in {boot_targets}")
|
||||
return False
|
||||
|
||||
session.patch(system_root, {"Boot": {"BootSourceOverrideEnabled": "Enabled", "BootSourceOverrideMode": "UEFI", "UefiTargetBootSourceOverride": target}})
|
||||
session.patch(system_root, {"Boot": {"BootSourceOverrideMode": "UEFI", "UefiTargetBootSourceOverride": target}})
|
||||
return True
|
||||
|
||||
def set_boot_override_generic():
|
||||
|
|
Loading…
Reference in New Issue