mitchellh/vagrant — pull request #4297 by gildub (2014-08-05 03:20:30+00:00)
Title: Fixes Fedora 20 network issues when virtual

On Fedora 20 virtual machines biosdevname command
'Returns 4 if running in a virtual machine.'

This patch:
- Uses the biosdevname command return value to detect if virtual
- Uses /sys/net to get interface names - Might be better solution
- Leaves unchanged the original 'bare metal' case - I wonder what for
though?

Tested with Fedora Cloud image adapted for vagrant-libvirt

Fixes issue #4104