Fixes Fedora 20 network issues when virtual
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

wkolean/vagrant,sideci-sample/sideci-sample-vagrant,PatOShea/vagrant,mpoeter/vagrant,denisbr/vagrant,legal90/vagrant,Chhed13/vagrant,juiceinc/vagrant,crashlytics/vagrant,wkolean/vagrant,sni/vagrant,aneeshusa/vagrant,lonniev/vagrant,genome21/vagrant,apertoso/vagrant,carlosefr/vagrant,justincampbell/vagrant,bheuvel/vagrant,gpkfr/vagrant,philwrenn/vagrant,jmanero/vagrant,mkuzmin/vagrant,teotihuacanada/vagrant,dharmab/vagrant,PatOShea/vagrant,miguel250/vagrant,bheuvel/vagrant,wangfakang/vagrant,sax/vagrant,crashlytics/vagrant,bheuvel/vagrant,senglin/vagrant,bryson/vagrant,taliesins/vagrant,jtopper/vagrant,doy/vagrant,vamegh/vagrant,channui/vagrant,ArloL/vagrant,kalabiyau/vagrant,otagi/vagrant,mwrock/vagrant,modulexcite/vagrant,vamegh/vagrant,patrys/vagrant,loren-osborn/vagrant,Endika/vagrant,jkburges/vagrant,mwrock/vagrant,nickryand/vagrant,tknerr/vagrant,nickryand/vagrant,bryson/vagrant,tknerr/vagrant,myrjola/vagrant,benizi/vagrant,mpoeter/vagrant,aaam/vagrant,ArloL/vagrant,gpkfr/vagrant,tjanez/vagrant,nickryand/vagrant,clinstid/vagrant,benizi/vagrant,kamazee/vagrant,philoserf/vagrant,TheBigBear/vagrant,jean/vagrant,loren-osborn/vagrant,sni/vagrant,bdwyertech/vagrant,loren-osborn/vagrant,myrjola/vagrant,janek-warchol/vagrant,bshurts/vagrant,stephancom/vagrant,johntron/vagrant,sax/vagrant,PatrickLang/vagrant,chrisroberts/vagrant,modulexcite/vagrant,krig/vagrant,chrisroberts/vagrant,philwrenn/vagrant,cgvarela/vagrant,PatrickLang/vagrant,sni/vagrant,bdwyertech/vagrant,juiceinc/vagrant,PatrickLang/vagrant,tbarrongh/vagrant,mwrock/vagrant,h4ck3rm1k3/vagrant,stephancom/vagrant,Chhed13/vagrant,benh57/vagrant,wangfakang/vagrant,otagi/vagrant,denisbr/vagrant,signed8bit/vagrant,jhoblitt/vagrant,krig/vagrant,Sgoettschkes/vagrant,jhoblitt/vagrant,lukebakken/vagrant,tomfanning/vagrant,benh57/vagrant,justincampbell/vagrant,muhanadra/vagrant,dustymabe/vagrant,kalabiyau/vagrant,bshurts/vagrant,senglin/vagrant,janek-warchol/vagrant,janek-warchol/vagrant,philoserf/vagrant,cgvarela/vagrant,wangfakang/vagrant,signed8bit/vagrant,kalabiyau/vagrant,dhoer/vagrant,MiLk/vagrant,jmanero/vagrant,kamigerami/vagrant,carlosefr/vagrant,patrys/vagrant,mkuzmin/vagrant,vamegh/vagrant,h4ck3rm1k3/vagrant,crashlytics/vagrant,theist/vagrant,krig/vagrant,Chhunlong/vagrant,iNecas/vagrant,janek-warchol/vagrant,denisbr/vagrant,bdwyertech/vagrant,jfchevrette/vagrant,gpkfr/vagrant,benizi/vagrant,PatrickLang/vagrant,blueyed/vagrant,tschortsch/vagrant,channui/vagrant,muhanadra/vagrant,lonniev/vagrant,johntron/vagrant,chrisroberts/vagrant,zsjohny/vagrant,teotihuacanada/vagrant,apertoso/vagrant,rivy/vagrant,philoserf/vagrant,benh57/vagrant,kamigerami/vagrant,otagi/vagrant,apertoso/vagrant,jkburges/vagrant,doy/vagrant,gitebra/vagrant,ferventcoder/vagrant,tjanez/vagrant,marxarelli/vagrant,gbarberi/vagrant,gpkfr/vagrant,signed8bit/vagrant,zsjohny/vagrant,philoserf/vagrant,kalabiyau/vagrant,MiLk/vagrant,obnoxxx/vagrant,shtouff/vagrant,johntron/vagrant,Chhunlong/vagrant,Chhunlong/vagrant,senglin/vagrant,denisbr/vagrant,benizi/vagrant,tbarrongh/vagrant,BlakeMesdag/vagrant,iNecas/vagrant,clinstid/vagrant,mwrock/vagrant,mitchellh/vagrant,theist/vagrant,h4ck3rm1k3/vagrant,benh57/vagrant,jmanero/vagrant,justincampbell/vagrant,Chhed13/vagrant,lukebakken/vagrant,jkburges/vagrant,BlakeMesdag/vagrant,kamazee/vagrant,gajdaw/vagrant,invernizzi-at-google/vagrant,Avira/vagrant,Endika/vagrant,blueyed/vagrant,gajdaw/vagrant,otagi/vagrant,cgvarela/vagrant,obnoxxx/vagrant,jberends/vagrant,dustymabe/vagrant,kamigerami/vagrant,channui/vagrant,TheBigBear/vagrant,patrys/vagrant,pwnall/vagrant,petems/vagrant,wangfakang/vagrant,myrjola/vagrant,stephancom/vagrant,lukebakken/vagrant,signed8bit/vagrant,modulexcite/vagrant,gitebra/vagrant,bshurts/vagrant,mwarren/vagrant,lukebakken/vagrant,marxarelli/vagrant,crashlytics/vagrant,stephancom/vagrant,juiceinc/vagrant,lonniev/vagrant,darkn3rd/vagrant,mkuzmin/vagrant,jberends/vagrant,sax/vagrant,tknerr/vagrant,Sgoettschkes/vagrant,ArloL/vagrant,zsjohny/vagrant,invernizzi-at-google/vagrant,tschortsch/vagrant,myrjola/vagrant,fnewberg/vagrant,ianmiell/vagrant,patrys/vagrant,rivy/vagrant,bshurts/vagrant,bryson/vagrant,ferventcoder/vagrant,shtouff/vagrant,tbriggs-curse/vagrant,dhoer/vagrant,rivy/vagrant,chrisroberts/vagrant,mitchellh/vagrant,miguel250/vagrant,clinstid/vagrant,mpoeter/vagrant,darkn3rd/vagrant,blueyed/vagrant,sax/vagrant,vamegh/vagrant,jhoblitt/vagrant,kamazee/vagrant,wkolean/vagrant,Chhunlong/vagrant,MiLk/vagrant,tomfanning/vagrant,darkn3rd/vagrant,marxarelli/vagrant,tbriggs-curse/vagrant,ianmiell/vagrant,legal90/vagrant,mwarren/vagrant,gitebra/vagrant,tschortsch/vagrant,mpoeter/vagrant,miguel250/vagrant,ferventcoder/vagrant,aneeshusa/vagrant,taliesins/vagrant,Sgoettschkes/vagrant,justincampbell/vagrant,TheBigBear/vagrant,dharmab/vagrant,genome21/vagrant,gbarberi/vagrant,jfchevrette/vagrant,jfchevrette/vagrant,sideci-sample/sideci-sample-vagrant,mwarren/vagrant,PatOShea/vagrant,gitebra/vagrant,aaam/vagrant,taliesins/vagrant,mitchellh/vagrant,obnoxxx/vagrant,philwrenn/vagrant,kamazee/vagrant,wkolean/vagrant,tbarrongh/vagrant,tschortsch/vagrant,PatOShea/vagrant,evverx/vagrant,jean/vagrant,sni/vagrant,tomfanning/vagrant,invernizzi-at-google/vagrant,evverx/vagrant,modulexcite/vagrant,jberends/vagrant,shtouff/vagrant,gbarberi/vagrant,mitchellh/vagrant,rivy/vagrant,TheBigBear/vagrant,jean/vagrant,marxarelli/vagrant,dustymabe/vagrant,carlosefr/vagrant,evverx/vagrant,ArloL/vagrant,darkn3rd/vagrant,Chhed13/vagrant,dustymabe/vagrant,petems/vagrant,tbriggs-curse/vagrant,tbriggs-curse/vagrant,kamigerami/vagrant,jkburges/vagrant,iNecas/vagrant,legal90/vagrant,aneeshusa/vagrant,fnewberg/vagrant,Avira/vagrant,mkuzmin/vagrant,dharmab/vagrant,jtopper/vagrant,jean/vagrant,tomfanning/vagrant,genome21/vagrant,genome21/vagrant,jhoblitt/vagrant,Avira/vagrant,gajdaw/vagrant,tjanez/vagrant,teotihuacanada/vagrant,bdwyertech/vagrant,bryson/vagrant,chrisvire/vagrant,ianmiell/vagrant,carlosefr/vagrant,aneeshusa/vagrant,dhoer/vagrant,miguel250/vagrant,aaam/vagrant,jtopper/vagrant,nickryand/vagrant,Endika/vagrant,zsjohny/vagrant,pwnall/vagrant,shtouff/vagrant,dhoer/vagrant,chrisvire/vagrant,johntron/vagrant,Endika/vagrant,pwnall/vagrant,taliesins/vagrant,aaam/vagrant,apertoso/vagrant,jberends/vagrant,doy/vagrant,doy/vagrant,jfchevrette/vagrant,krig/vagrant,muhanadra/vagrant,tknerr/vagrant,blueyed/vagrant,theist/vagrant,Sgoettschkes/vagrant,legal90/vagrant,h4ck3rm1k3/vagrant,petems/vagrant,philwrenn/vagrant,cgvarela/vagrant,teotihuacanada/vagrant,senglin/vagrant,bheuvel/vagrant,Avira/vagrant,invernizzi-at-google/vagrant,chrisvire/vagrant,lonniev/vagrant,petems/vagrant,sideci-sample/sideci-sample-vagrant,dharmab/vagrant,ianmiell/vagrant,chrisvire/vagrant,jmanero/vagrant,pwnall/vagrant,jtopper/vagrant,mwarren/vagrant,juiceinc/vagrant,tjanez/vagrant,fnewberg/vagrant,fnewberg/vagrant,ferventcoder/vagrant,BlakeMesdag/vagrant,tbarrongh/vagrant,muhanadra/vagrant,theist/vagrant,gbarberi/vagrant,loren-osborn/vagrant