Add sleep before reboot

This commit is contained in:
Tom Alexander 2023-08-13 18:17:27 -04:00
parent c0250ac00d
commit f7ff982098
Signed by: talexander
GPG Key ID: D3A179C9A53C0EDE

View File

@ -170,6 +170,7 @@ function start_vm {
set +x set +x
if [ $exit_code -eq 0 ]; then if [ $exit_code -eq 0 ]; then
echo "Rebooting." echo "Rebooting."
sleep 5
elif [ $exit_code -eq 1 ]; then elif [ $exit_code -eq 1 ]; then
echo "Powered off." echo "Powered off."
break break