Gentoo template - Add a hwaddr if there is only one veth
Gentoo template - Add a hwaddr if there is only one veth

Reuse the code from the Debian template to associate a hwaddr if there
is only one veth interface in the container's config file.

Signed-off-by: Vicente Olivert Riera <83cac529feddc0798544b69d165f5a250c68e92a@imgtec.com>
Acked-by: Stéphane Graber <089afc6d81f66f1168a9849e15660feae286e024@ubuntu.com>

efiop/lxc,hfuCN/lxc,bostjan/lxc,ecarrara/lxc,lazy404/lxc,terceiro/lxc,ysbnim/lxc,federicobriata/lxc,armcc/lxc,armcc/lxc,LynxChaus/lxc,ss1h2a3tw/lxc,terceiro/lxc,DarknessBeforeDawn/lxc,sapun/lxc,fwilson42/lxc,tych0/lxc,hkjolhede/lxc,QingweiPeterLan/cs188-lxc,LynxChaus/lxc,major/lxc,hkjolhede/lxc,akshaykarle/lxc,efiop/lxc,virajs/lxc,szaszg/lxc,federicobriata/lxc,yubo/lxc,DarknessBeforeDawn/lxc,raspberrypython/lxc,Pelagicore/lxc,szaszg/lxc,JohnPeacockMessageSystems/lxc,lisongmin/lxc,ioops/lxc,LynxChaus/lxc,rowhit/lxc,cjwatson/lxc,hallyn/lxc,JohnPeacockMessageSystems/lxc,Pelagicore/lxc,Distrotech/lxc,cjwatson/lxc,Distrotech/lxc,sapun/lxc,GreatFruitOmsk/lxc,caglar10ur/lxc,GreatFruitOmsk/lxc,codebauss/lxc,GreatFruitOmsk/lxc,codebauss/lxc,DarknessBeforeDawn/lxc,Pelagicore/lxc,bmoar/lxc,thmo/lxc,bostjan/lxc,rowhit/lxc,lisongmin/lxc,lazy404/lxc,fwilson42/lxc,armcc/lxc,hfuCN/lxc,Ponce/lxc,hkjolhede/lxc,lisongmin/lxc,fwilson42/lxc,ss1h2a3tw/lxc,ysbnim/lxc,jirislaby/lxc,Distrotech/lxc,rowhit/lxc,caglar10ur/lxc,sapun/lxc,aeris/lxc,yubo/lxc,ss1h2a3tw/lxc,jirislaby/lxc,jirislaby/lxc,codebauss/lxc,ioops/lxc,terceiro/lxc,christiaan/lxc,major/lxc,Ponce/lxc,cjwatson/lxc,regit/lxc,bostjan/lxc,major/lxc,virajs/lxc,hfuCN/lxc,federicobriata/lxc,regit/lxc,ecarrara/lxc,christiaan/lxc,virajs/lxc,ksperis/lxc,QingweiPeterLan/cs188-lxc,hallyn/lxc,QingweiPeterLan/cs188-lxc,akshaykarle/lxc,akshaykarle/lxc,raspberrypython/lxc,rldleblanc/lxc,ksperis/lxc,caglar10ur/lxc,ksperis/lxc,raspberrypython/lxc,szaszg/lxc,efiop/lxc,ecarrara/lxc,tych0/lxc,christiaan/lxc,thmo/lxc,rldleblanc/lxc,Ponce/lxc,ysbnim/lxc,bmoar/lxc,lazy404/lxc,ioops/lxc,aeris/lxc,bmoar/lxc,yubo/lxc,rldleblanc/lxc,tych0/lxc,aeris/lxc,regit/lxc,thmo/lxc,JohnPeacockMessageSystems/lxc,hallyn/lxc