Skip to content

Commit

Permalink
Reintroduce reboot for vagrant deployments.
Browse files Browse the repository at this point in the history
  • Loading branch information
fuzziebrain committed Oct 22, 2016
1 parent 9abb17e commit a4dd778
Showing 1 changed file with 4 additions and 7 deletions.
11 changes: 4 additions & 7 deletions build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -228,10 +228,7 @@ fi
# cd $OOS_SOURCE_DIR
# rm -rf tmp

#Reboot if not deployed through Vagrant.
if [ "$OOS_DEPLOY_TYPE" != "VAGRANT" ];
then
echo "Installation complete. You can review logs at ${OOS_LOG_DIR}"
echo Rebooting in: ; for i in {15..1..1};do echo -n "$i." && sleep 1; done
shutdown -r now
fi;
#Reboot
echo "Installation complete. You can review logs at ${OOS_LOG_DIR}"
echo Rebooting in: ; for i in {15..1..1};do echo -n "$i." && sleep 1; done
shutdown -r now

0 comments on commit a4dd778

Please sign in to comment.