Merge pull request #4461 from andytson/feature/redhat-network-file-traversal-fix

guests/redhat: Fixes #4450, add another expand_path ../ to get back to the guests directory
This commit is contained in:
Mitchell Hashimoto 2014-09-04 13:43:30 -07:00
commit f239638dde
1 changed files with 1 additions and 1 deletions

View File

@ -23,7 +23,7 @@ module VagrantPlugins
def self.configure_networks_rhel7(machine, networks) def self.configure_networks_rhel7(machine, networks)
# This is kind of jank but the configure networks is the same # This is kind of jank but the configure networks is the same
# as Fedora at this point. # 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. ::VagrantPlugins::GuestFedora::Cap::ConfigureNetworks.
configure_networks(machine, networks) configure_networks(machine, networks)
end end