projects
/
mirror
/
dsa-puppet.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Add an extra line to network/interfaces
[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
1c3d485
..
772c91b
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
@@
-46,6
+46,7
@@
fi
if [ "$NIC_COUNT" -ge 2 ]; then
cat >> $TARGET/etc/network/interfaces << EOF
if [ "$NIC_COUNT" -ge 2 ]; then
cat >> $TARGET/etc/network/interfaces << EOF
+
auto eth1
iface eth1 inet static
address ${NIC_1_IP}
auto eth1
iface eth1 inet static
address ${NIC_1_IP}