Merge pull request #5937 from aidanhs/patch-1

Fix setting hostname in 12.04
This commit is contained in:
Seth Vargo 2015-07-11 17:31:57 -04:00
commit 0796f052f0
1 changed files with 1 additions and 1 deletions

View File

@ -7,7 +7,7 @@ module VagrantPlugins
end
def update_etc_hostname
super unless vivid?
return super unless vivid?
sudo("hostnamectl set-hostname '#{short_hostname}'")
end