diff options
| author | Zuul <zuul@review.opendev.org> | 2021-08-11 11:08:34 +0000 |
|---|---|---|
| committer | Gerrit Code Review <review@openstack.org> | 2021-08-11 11:08:34 +0000 |
| commit | c616b4dba3baca3e4550842b4dec0761b77d694d (patch) | |
| tree | ad076ed95780c9d496e3ad21baee71901f53f4e0 /ironic_python_agent/extensions | |
| parent | 71f54b7f9864b0cb51e59b3a157df986302b6073 (diff) | |
| parent | caf695f70ab366498b46cb6f07f6751369c67e30 (diff) | |
| download | ironic-python-agent-c616b4dba3baca3e4550842b4dec0761b77d694d.tar.gz | |
Merge "Output verbose info from efibootmgr"
Diffstat (limited to 'ironic_python_agent/extensions')
| -rw-r--r-- | ironic_python_agent/extensions/image.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ironic_python_agent/extensions/image.py b/ironic_python_agent/extensions/image.py index 697a1d95..1d439923 100644 --- a/ironic_python_agent/extensions/image.py +++ b/ironic_python_agent/extensions/image.py @@ -274,7 +274,7 @@ def _run_efibootmgr(valid_efi_bootloaders, device, efi_partition, # Before updating let's get information about the bootorder LOG.debug("Getting information about boot order.") - utils.execute('efibootmgr') + utils.execute('efibootmgr', '-v') # NOTE(iurygregory): regex used to identify the Warning in the stderr after # we add the new entry. Example: # "efibootmgr: ** Warning ** : Boot0004 has same label ironic" @@ -303,7 +303,7 @@ def _run_efibootmgr(valid_efi_bootloaders, device, efi_partition, 'dev': device}) # Update the nvram using efibootmgr # https://linux.die.net/man/8/efibootmgr - cmd = utils.execute('efibootmgr', '-c', '-d', device, + cmd = utils.execute('efibootmgr', '-v', '-c', '-d', device, '-p', efi_partition, '-w', '-L', label, '-l', v_efi_bl_path) for line in cmd[1].split('\n'): |
