From 59aee68c2eb79b269cc6e4402265af9953c2081f Mon Sep 17 00:00:00 2001 From: Adam Michel Date: Thu, 18 May 2023 17:44:16 -0700 Subject: [PATCH] reboot expects systemd _sigh_, force required Signed-off-by: Adam Michel --- overlays/wwinit/rootfs/init | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/overlays/wwinit/rootfs/init b/overlays/wwinit/rootfs/init index 0b9f7494..70ceec3b 100755 --- a/overlays/wwinit/rootfs/init +++ b/overlays/wwinit/rootfs/init @@ -47,7 +47,7 @@ if [ "${WWROOT}" != "${ROOTFSTYPE}" ]; then echo "Unrecognized rootfs type requested: ${WWROOT}" echo "Rebooting in 1 minute..." sleep 60 - /sbin/reboot + /sbin/reboot -f fi else echo "Invoking /warewulf/wwinit..." @@ -57,4 +57,4 @@ fi echo echo "There was a problem with the initial provisioning process, rebooting in 1 minute..." sleep 60 -echo b > /proc/sysrq-trigger || /sbin/reboot +echo b > /proc/sysrq-trigger || /sbin/reboot -f