Add an extra line to network/interfaces
authorPeter Palfrader <peter@palfrader.org>
Wed, 20 Jun 2012 07:57:47 +0000 (09:57 +0200)
committerPeter Palfrader <peter@palfrader.org>
Wed, 20 Jun 2012 07:57:47 +0000 (09:57 +0200)
modules/ganeti2/templates/instance-debootstrap/hooks/00-dsa-configure-networking.erb

index 1c3d485..772c91b 100755 (executable)
@@ -46,6 +46,7 @@ fi
 
 if [ "$NIC_COUNT" -ge 2 ]; then
   cat >> $TARGET/etc/network/interfaces << EOF
 
 if [ "$NIC_COUNT" -ge 2 ]; then
   cat >> $TARGET/etc/network/interfaces << EOF
+
 auto eth1
 iface eth1 inet static
   address ${NIC_1_IP}
 auto eth1
 iface eth1 inet static
   address ${NIC_1_IP}