only reboot if base image script was called

This commit is contained in:
Girish Ramakrishnan
2016-12-27 15:20:26 -08:00
parent 11ce5ffa4c
commit 905bdb1d27

View File

@@ -198,4 +198,7 @@ echo ""
echo "Visit https://my.${domain} to finish setup"
echo ""
systemctl reboot
if [[ "${initBaseImage}" == "true" ]]; then
systemctl reboot
fi