Merge pull request #3154 from mway/fix-osx-guest-namespace
guests/darwin: global namespace for class IO naming conflict
This commit is contained in:
commit
e4e845232c
|
@ -18,7 +18,7 @@ module VagrantPlugins
|
||||||
machine.communicate.download("/tmp/vagrant.interfaces",tmpints)
|
machine.communicate.download("/tmp/vagrant.interfaces",tmpints)
|
||||||
|
|
||||||
devlist = []
|
devlist = []
|
||||||
ints = IO.read(tmpints)
|
ints = ::IO.read(tmpints)
|
||||||
ints.split(/\n\n/m).each do |i|
|
ints.split(/\n\n/m).each do |i|
|
||||||
if i.match(/Hardware/) and not i.match(/Ethernet/).nil?
|
if i.match(/Hardware/) and not i.match(/Ethernet/).nil?
|
||||||
devmap = {}
|
devmap = {}
|
||||||
|
|
Loading…
Reference in New Issue