Fixed minor bug where WWINIT was unset and exec had nothing to call

This commit is contained in:
Gregory Kurtzer
2020-12-20 23:03:06 -08:00
parent 98e03162d3
commit f873185858
2 changed files with 4 additions and 3 deletions

View File

@@ -174,7 +174,7 @@ sudo ./wwctl overlay list -ls
sudo EDITOR=vim ./wwctl overlay edit default /etc/hello_world.ww sudo EDITOR=vim ./wwctl overlay edit default /etc/hello_world.ww
sudo ./wwctl overlay build -a sudo ./wwctl overlay build -a
``` ```
#### Start the Warewulf daemon: #### Start the Warewulf daemon:
Once the above provisioning images are built, you can check the provisioning "rediness" Once the above provisioning images are built, you can check the provisioning "rediness"

View File

@@ -10,6 +10,7 @@ done
/bin/bash /bin/bash
INIT=$WWINIT
echo "Cleaning up" echo "Cleaning up"
unset WWCONTAINER unset WWCONTAINER
unset WWHOSTNAME unset WWHOSTNAME
@@ -21,8 +22,8 @@ unset WWIPMI_GATEWAY
unset WWIPMI_USER unset WWIPMI_USER
unset WWIPMI_PASSWORD unset WWIPMI_PASSWORD
echo "Calling $WWINIT..." echo "Calling $INIT..."
echo echo
sleep 2 sleep 2
exec $WWINIT exec $INIT