reboot expects systemd _sigh_, force required

Signed-off-by: Adam Michel <elfurbe@furbism.com>
This commit is contained in:
Adam Michel
2023-05-18 17:44:16 -07:00
committed by Jonathon Anderson
parent 23a041b886
commit 59aee68c2e

View File

@@ -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