Merge pull request #3154 from mway/fix-osx-guest-namespace

guests/darwin: global namespace for class IO naming conflict
This commit is contained in:
Mitchell Hashimoto 2014-03-12 08:39:21 -07:00
commit e4e845232c
1 changed files with 1 additions and 1 deletions

View File

@ -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 = {}