Merge pull request #5937 from aidanhs/patch-1
Fix setting hostname in 12.04
This commit is contained in:
commit
0796f052f0
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in New Issue