]> git.donarmstrong.com Git - dsa-puppet.git/commitdiff
Use proper ip address for eth1
authorPeter Palfrader <peter@palfrader.org>
Wed, 20 Jun 2012 07:13:20 +0000 (09:13 +0200)
committerPeter Palfrader <peter@palfrader.org>
Wed, 20 Jun 2012 07:13:20 +0000 (09:13 +0200)
modules/ganeti2/templates/instance-debootstrap/hooks/00-dsa-configure-networking.erb

index 9662aaff49d13729c849b922edd766b7c682d1e0..3954046732880b380194e52699ff0ec8d01aaa08 100755 (executable)
@@ -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