Refactor ChangeHostName for EL.
Refactor ChangeHostName for EL.

Based off of the Debian pattern. Need to add tests.

Related to #2653 and #2592

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