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
|
||||
else
|
||||
printf "Could not restart the network to set the new hostname!\n"
|
||||
exit 1
|
||||
fi
|
||||
EOH
|
||||
end
|
||||
|
|
Loading…
Reference in New Issue