Exit 1 if we cannot set the hostname.

This commit is contained in:
Joe Doss 2018-09-18 13:15:26 -05:00 committed by Chris Roberts
parent c14a4a09f7
commit 19aa9578c7
1 changed files with 1 additions and 0 deletions

View File

@ -35,6 +35,7 @@ module VagrantPlugins
service network restart
else
printf "Could not restart the network to set the new hostname!\n"
exit 1
fi
EOH
end