From afcb0205a23957c5b80f08bb942c3355d1712c5e Mon Sep 17 00:00:00 2001 From: Peter Palfrader Date: Wed, 20 Jun 2012 09:13:20 +0200 Subject: [PATCH] Use proper ip address for eth1 --- .../instance-debootstrap/hooks/00-dsa-configure-networking.erb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.39.2