diff options
author | Alexandru Avadanii <Alexandru.Avadanii@enea.com> | 2017-08-24 04:09:59 +0200 |
---|---|---|
committer | Alexandru Avadanii <Alexandru.Avadanii@enea.com> | 2017-10-28 20:01:09 +0200 |
commit | 4e2c736cce578d1073dab0e0960b524b1dcc663a (patch) | |
tree | 03d5e998d997886fcc2c640c3ccfc7cc4bb417d3 /mcp/scripts/net_mcpcontrol.xml.template | |
parent | a1a73087d8e5cb43d2ebcf313f7a784b20bc4a3e (diff) |
lib.sh: rm Ubuntu boot entry on EFI systems
On EFI-enabled systems, grub-install from grub-efi-* package
installs a boot entry named "ubuntu".
MaaS relies on IPMI to set boot order to PXE first; however
on systems with buggy firmware or without full IPMI support,
that fails, leading to booting Ubuntu from hard disk instead.
Work around this by clearing any previous Ubuntu boot entry
from board flash, before starting a new baremetal deploy.
NOTE: This only runs against nodes that are online from a
previous deploy.
Closes: ARMBAND-47
Change-Id: I1c4ece09e42845ce2a1b7119ec69e46e5ca12376
Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
Diffstat (limited to 'mcp/scripts/net_mcpcontrol.xml.template')
0 files changed, 0 insertions, 0 deletions