Fixed typo: hostnamectl vs. homenamectl

This commit is contained in:
keithchambers 2014-09-02 21:55:33 -07:00
parent 2fea07f92d
commit 1f93582131
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