projects
/
mirror
/
dsa-puppet.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Use proper ip address for eth1
[mirror/dsa-puppet.git]
/
modules
/
ganeti2
/
templates
/
instance-debootstrap
/
hooks
/
00-dsa-configure-networking.erb
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
9662aaf
..
3954046
100755
(executable)
--- 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
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
netmask 255.255.255.0
EOF