From 027e17f6267f4bf1918edfcc9e51136babfd110e Mon Sep 17 00:00:00 2001 From: Adam Michel Date: Thu, 18 May 2023 17:55:37 -0700 Subject: [PATCH] Informational messages added about 'initramfs' option Signed-off-by: Adam Michel --- overlays/wwinit/rootfs/init | 3 +++ 1 file changed, 3 insertions(+) diff --git a/overlays/wwinit/rootfs/init b/overlays/wwinit/rootfs/init index 70ceec3b..dec300c3 100755 --- a/overlays/wwinit/rootfs/init +++ b/overlays/wwinit/rootfs/init @@ -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