Skip to content

Commit

Permalink
Merge pull request #4461 from andytson/feature/redhat-network-file-tr…
Browse files Browse the repository at this point in the history
…aversal-fix

guests/redhat: Fixes #4450, add another expand_path ../ to get back to the guests directory
  • Loading branch information
mitchellh committed Sep 4, 2014
2 parents 7936994 + 5c988b6 commit f239638
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion plugins/guests/redhat/cap/configure_networks.rb
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ def self.configure_networks(machine, networks)
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
Expand Down

0 comments on commit f239638

Please sign in to comment.