From 1f93582131794da09b41bd2966dec45cf27809ac Mon Sep 17 00:00:00 2001 From: keithchambers Date: Tue, 2 Sep 2014 21:55:33 -0700 Subject: [PATCH] Fixed typo: hostnamectl vs. homenamectl --- plugins/guests/redhat/cap/change_host_name.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/guests/redhat/cap/change_host_name.rb b/plugins/guests/redhat/cap/change_host_name.rb index f88cbcdad..72ad47e8d 100644 --- a/plugins/guests/redhat/cap/change_host_name.rb +++ b/plugins/guests/redhat/cap/change_host_name.rb @@ -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