aboutsummaryrefslogtreecommitdiffstats
path: root/mcp/scripts/user-data.template
diff options
context:
space:
mode:
authorAlexandru Avadanii <Alexandru.Avadanii@enea.com>2017-08-24 04:09:59 +0200
committerAlexandru Avadanii <Alexandru.Avadanii@enea.com>2017-10-30 17:16:10 +0000
commit45737405947d6b0a66f777a3b8460fc7e8cc4cdd (patch)
tree43b8b5e261618856d00646b5eae1202405732f17 /mcp/scripts/user-data.template
parent03b9dd69922f0bde68af7f6c1f0c18d9db88b25e (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> (cherry picked from commit 4e2c736cce578d1073dab0e0960b524b1dcc663a)
Diffstat (limited to 'mcp/scripts/user-data.template')
0 files changed, 0 insertions, 0 deletions