fixing error in comment #2333
This commit is contained in:
parent
a80de51054
commit
803e78a5d4
|
@ -20,7 +20,7 @@ module VagrantPlugins
|
|||
comm.sudo("sed -i 's/.*$/#{name.split('.')[0]}/' /etc/hostname")
|
||||
|
||||
# hosts should resemble:
|
||||
# 127.0.0.1 localhost host.fqdn.com host
|
||||
# 127.0.0.1 localhost
|
||||
# 127.0.1.1 host.fqdn.com host
|
||||
if name.split('.').length > 1
|
||||
# if there's an FQDN, put it in the right format
|
||||
|
|
Loading…
Reference in New Issue