use vif<hostname> instead of vif_<hostname> to save space; f20 can do vifvirtualpanel...
authorThierry Parmentelat <thierry.parmentelat@inria.fr>
Thu, 20 Mar 2014 11:38:43 +0000 (12:38 +0100)
committerThierry Parmentelat <thierry.parmentelat@inria.fr>
Thu, 20 Mar 2014 11:38:43 +0000 (12:38 +0100)
lbuild-initvm.sh

index 1babde3..c65026c 100755 (executable)
@@ -860,7 +860,7 @@ function main () {
        masklen=$(ip addr show $PUBLIC_BRIDGE | grep -v inet6 | grep inet | awk '{print $2;}' | cut -d/ -f2)
         NETMASK=$(masklen_to_netmask $masklen)
         GATEWAY=$(ip route show | grep default | awk '{print $3}' | head -1)
-        VIF_HOST="vif_$(echo $GUEST_HOSTNAME | cut -d. -f1)"
+        VIF_HOST="vif$(echo $GUEST_HOSTNAME | cut -d. -f1)"
     fi
 
     setup_lxc $lxc $fcdistro $pldistro $personality