Merge pull request #4443 from keithchambers/master

guests/redhat:  hostnamectl vs. homenamectl
This commit is contained in:
Mitchell Hashimoto 2014-09-02 23:10:36 -07:00
commit 4c7eeb7595
1 changed files with 1 additions and 1 deletions

View File

@ -12,7 +12,7 @@ module VagrantPlugins
end
def self.change_host_name_rhel7(machine, name)
machine.communicate.sudo("homenamectl set-hostname #{name}")
machine.communicate.sudo("hostnamectl set-hostname #{name}")
end
attr_reader :machine, :new_hostname