update CHANGELOG
This commit is contained in:
parent
4b4255c6d1
commit
d04ec704c1
|
@ -2,6 +2,7 @@
|
|||
|
||||
IMPROVEMENTS:
|
||||
|
||||
- guests/suse: Support NFS client install, rsync setup. [GH-4492]
|
||||
- guests/windows: Hostname can be set without reboot. [GH-4687]
|
||||
- providers/docker: Can now start containers from private repositories
|
||||
more easily. Vagrant will login for you if you specify auth. [GH-4042]
|
||||
|
|
|
@ -5,7 +5,7 @@ module VagrantPlugins
|
|||
def self.change_host_name(machine, name)
|
||||
machine.communicate.tap do |comm|
|
||||
# Only do this if the hostname is not already set
|
||||
unless comm.test("sudo hostname | grep '#{name}'")
|
||||
if !comm.test("sudo hostname | grep '#{name}'")
|
||||
comm.sudo("echo #{name} > /etc/HOSTNAME")
|
||||
comm.sudo("hostname #{name}")
|
||||
|
||||
|
|
Loading…
Reference in New Issue