update /etc/hosts on rhel 7
update /etc/hosts on rhel 7

the previous fix for #4465 assumed that the NetworkManager takes care of updating /etc/hosts with
the new hostname, but testing shows it doesn't. This change ensures that the change is always added
to /etc/hosts when the name changes.

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