update CHANGELOG

This commit is contained in:
Mitchell Hashimoto 2014-10-23 10:12:27 -07:00
parent 4b4255c6d1
commit d04ec704c1
2 changed files with 2 additions and 1 deletions

View File

@ -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]

View File

@ -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}")