From: Peter Palfrader Date: Wed, 20 Jun 2012 07:57:47 +0000 (+0200) Subject: Add an extra line to network/interfaces X-Git-Url: https://git.donarmstrong.com/?p=dsa-puppet.git;a=commitdiff_plain;h=c82e5e29c32f43028cb668dd653c98af9391806d Add an extra line to network/interfaces --- diff --git a/modules/ganeti2/templates/instance-debootstrap/hooks/00-dsa-configure-networking.erb b/modules/ganeti2/templates/instance-debootstrap/hooks/00-dsa-configure-networking.erb index 1c3d4856..772c91bf 100755 --- a/modules/ganeti2/templates/instance-debootstrap/hooks/00-dsa-configure-networking.erb +++ b/modules/ganeti2/templates/instance-debootstrap/hooks/00-dsa-configure-networking.erb @@ -46,6 +46,7 @@ fi if [ "$NIC_COUNT" -ge 2 ]; then cat >> $TARGET/etc/network/interfaces << EOF + auto eth1 iface eth1 inet static address ${NIC_1_IP}