Add sleep before reboot
This commit is contained in:
parent
c0250ac00d
commit
f7ff982098
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user