From 5c988b64b521013280d1b51c31294f366a67910a Mon Sep 17 00:00:00 2001 From: Andy Thompson Date: Thu, 4 Sep 2014 20:51:10 +0100 Subject: [PATCH] Fixes #4450, add another expand_path ../ to get back to the guests directory --- plugins/guests/redhat/cap/configure_networks.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/guests/redhat/cap/configure_networks.rb b/plugins/guests/redhat/cap/configure_networks.rb index b9c0dbe4f..f176cca3d 100644 --- a/plugins/guests/redhat/cap/configure_networks.rb +++ b/plugins/guests/redhat/cap/configure_networks.rb @@ -23,7 +23,7 @@ module VagrantPlugins def self.configure_networks_rhel7(machine, networks) # This is kind of jank but the configure networks is the same # as Fedora at this point. - require File.expand_path("../../fedora/cap/configure_networks", __FILE__) + require File.expand_path("../../../fedora/cap/configure_networks", __FILE__) ::VagrantPlugins::GuestFedora::Cap::ConfigureNetworks. configure_networks(machine, networks) end