Add machine-id note

This note informs that it may be necessary to remove /etc/machine-id for dracut to properly generate. The nodes will fail to boot otherwise
This commit is contained in:
Stephen Simpson
2025-01-02 11:31:38 -06:00
parent 86d10a1a0a
commit 8af74bdb69
3 changed files with 8 additions and 0 deletions

View File

@@ -82,6 +82,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/).
- Bump github.com/containers/storage from 1.53.0 to 1.55.2 #1316, #892 - Bump github.com/containers/storage from 1.53.0 to 1.55.2 #1316, #892
- Process nodes.conf path dynamically from config. #1595, #1596, #1569 - Process nodes.conf path dynamically from config. #1595, #1596, #1569
- Split overlays into distribution and site overlays. #831 - Split overlays into distribution and site overlays. #831
- Added note to booting userdoc for removing machine-id. #1609
### Removed ### Removed

View File

@@ -44,3 +44,4 @@
* Nicholas Porter <nap23@unm.edu> * Nicholas Porter <nap23@unm.edu>
* Ian Kaufman <ikaufman@ucsd.edu> [@iankgt40](https://github.com/iankgt40) * Ian Kaufman <ikaufman@ucsd.edu> [@iankgt40](https://github.com/iankgt40)
* Daniele Colombo [@dacolombo](https://github.com/dacolombo) * Daniele Colombo [@dacolombo](https://github.com/dacolombo)
* Stephen Simpson [@ssimpson89](https://github.com/ssimpson89)

View File

@@ -326,6 +326,12 @@ initramfs inside the container.
dnf -y install warewulf-dracut dnf -y install warewulf-dracut
dracut --force --no-hostonly --add wwinit --regenerate-all dracut --force --no-hostonly --add wwinit --regenerate-all
.. note::
In some systems, such as ``rockylinux:8``, it may be
necessary to remove ``/etc/machine-id`` for dracut to properly generate
the initramfs in the location that Warewulf is expecting.
Set the node's iPXE template to ``dracut`` to direct iPXE to fetch the Set the node's iPXE template to ``dracut`` to direct iPXE to fetch the
node's initramfs image and boot with dracut semantics, rather than node's initramfs image and boot with dracut semantics, rather than
booting the node image directly. booting the node image directly.