Informational messages added about 'initramfs' option

Signed-off-by: Adam Michel <elfurbe@furbism.com>
This commit is contained in:
Adam Michel
2023-05-18 17:55:37 -07:00
committed by Jonathon Anderson
parent 59aee68c2e
commit 027e17f626

View File

@@ -41,6 +41,9 @@ if [ "${WWROOT}" != "${ROOTFSTYPE}" ]; then
echo "Switching to new rootfs and invoking /warewulf/wwinit..."
exec /sbin/switch_root /newroot /warewulf/wwinit
elif [ "${WWROOT}" == "initramfs" ]; then
echo ">>> Deprecated option \"initramfs\" chosen."
echo ">>> The 'initramfs' can be either a ramfs or a tmpfs natively, depending on kernel configuration."
echo ">>> If you wish to use whatever this kernel chooses by default, remove this 'root' setting from your nodes/profiles."
echo "Invoking /warewulf/wwinit..."
exec /warewulf/wwinit
else