~ltrager/maas-images/v3_squashfs_only

Viewing all changes in revision 362.

  • Committer: Blake Rouse
  • Date: 2017-05-04 03:09:29 UTC
  • mfrom: (361.1.1 maas-images)
  • Revision ID: blake.rouse@canonical.com-20170504030929-fw20tw7v7t8pne6j
Fix boot loader ordering for CentOS 7 UEFI.

Previously when deploying CentOS 7 the 'centos' efi loader would become the first loader in the boot order, which prevents re-deployments of any OS as the machine will no longer boot from the network first. This branch updates the boot order for EFI and places the currently booted entry as the first in the boot order. Since this is run in ephemeral mode this ensures that the NIC that the machine booted from will start first. 'centos' entry will be after the network, so if MAAS is down the machine will still boot from 'centos' if MAAS is down and the machine reboots. Previous \EFI entries are also removed from bios as those no longer exists as curtin creates a new \EFI partition on deployment.

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: