Exit 1 if we cannot set the hostname.
This commit is contained in:
parent
c14a4a09f7
commit
19aa9578c7
|
@ -35,6 +35,7 @@ module VagrantPlugins
|
||||||
service network restart
|
service network restart
|
||||||
else
|
else
|
||||||
printf "Could not restart the network to set the new hostname!\n"
|
printf "Could not restart the network to set the new hostname!\n"
|
||||||
|
exit 1
|
||||||
fi
|
fi
|
||||||
EOH
|
EOH
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in New Issue