From: Peter Palfrader Date: Wed, 20 Jun 2012 07:13:20 +0000 (+0200) Subject: Use proper ip address for eth1 X-Git-Url: https://git.donarmstrong.com/?p=dsa-puppet.git;a=commitdiff_plain;h=afcb0205a23957c5b80f08bb942c3355d1712c5e Use proper ip address for eth1 --- 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 9662aaff..39540467 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 @@ -48,7 +48,7 @@ if [ "$NIC_COUNT" -ge 2 ]; then cat >> $TARGET/etc/network/interfaces << EOF auto eth1 iface eth1 inet static - address ${NIC_0_IP} + address ${NIC_1_IP} netmask 255.255.255.0 EOF