diskimage-builder/diskimage_builder/elements/centos/pre-install.d
Steve Baker 0d0f7f8075 Rename existing BLS entry with the new machine-id
This change replaces the call to grub2-switch-to-blscfg with a file
rename to update it to the actual machine-id.

grub2-switch-to-blscfg has issues in some build environments:
- When the build host is EFI boot, it assumes the image is, and
  fails when config file /etc/grub2-efi.cfg is missing
- With recent cento9 images and a fedora build host it fails with:
  grub2-probe: error: cannot find a device for / (is /dev mounted?)

Change-Id: I74ad800b702f2b491d958555cef8d7c7f63d74ac
2022-01-21 15:36:49 +13:00
..
00-02-set-centos-mirror Fix centos stream set mirror 2021-04-02 06:56:45 +00:00
02-set-machine-id Add CentOS 8 support 2020-02-19 10:44:56 +01:00
03-reset-bls-entries Rename existing BLS entry with the new machine-id 2022-01-21 15:36:49 +13:00