Merge pull request #17 from imikushin/fix-eth1

fix internal network
This commit is contained in:
Bill Maxwell 2015-05-19 23:25:27 -07:00
commit 993f80e7bc
1 changed files with 1 additions and 1 deletions

View File

@ -23,7 +23,7 @@ module VagrantPlugins
def self.configure_networks(machine, networks)
machine.communicate.tap do |comm|
interfaces = []
comm.sudo("ip link show|grep eth[1-9]|awk -e '{print $2}'|sed -e 's/:$//'") do |_, result|
comm.sudo("ip link show|grep eth[1-9]|awk '{print $2}'|sed -e 's/:$//'") do |_, result|
interfaces = result.split("\n")
end