tripleo-image-elements/elements/reset-bls-entries
Steve Baker 7fd9cbef64 Add element reset-bls-entries
This is an element which will run a script on first boot to rename
`/boot/loader/entries` filenames to match the new value of
`/etc/machine-id`. This is required for `grub2-mkconfig` calls to
incorporate existing values in the boot loader entry files.

It only runs when first-boot criteria is met, such as when
`uninitialized` is written to `/etc/machine-id`

rhbz#2073855

Change-Id: I354aeabed6d2993ae600b86381a7b625ca7f89dc
Depends-On: https://review.opendev.org/c/openstack/diskimage-builder/+/837251
2022-04-26 14:57:59 +12:00
..
init-scripts/systemd Add element reset-bls-entries 2022-04-26 14:57:59 +12:00
post-install.d Add element reset-bls-entries 2022-04-26 14:57:59 +12:00
static/usr/lib/systemd Add element reset-bls-entries 2022-04-26 14:57:59 +12:00
README.rst Add element reset-bls-entries 2022-04-26 14:57:59 +12:00

README.rst

reset-bls-entries

This is an element which will run a script on first boot to rename /boot/loader/entries filenames to match the new value of /etc/machine-id. This is required for grub2-mkconfig calls to incorporate existing values in the boot loader entry files.

It only runs when first-boot criteria is met, such as when uninitialized is written to /etc/machine-id