]> git.donarmstrong.com Git - dsa-puppet.git/blobdiff - modules/ganeti2/templates/instance-debootstrap/hooks/00-dsa-configure-networking.erb
Use proper ip address for eth1
[dsa-puppet.git] / 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