summaryrefslogtreecommitdiffstats
path: root/bin
diff options
context:
space:
mode:
authorHolger Levsen <holger@layer-acht.org>2014-11-05 01:05:42 +0100
committerHolger Levsen <holger@layer-acht.org>2014-11-05 01:05:42 +0100
commitd6ba6d03eac039207cb20707e05f8686cd693561 (patch)
tree10184d661334dde8409b246e76ba7c837efd263c /bin
parentb22a66ddb26d6c37c6904ac7647206f8dfa271d9 (diff)
downloadjenkins.debian.net-d6ba6d03eac039207cb20707e05f8686cd693561.tar.xz
g-i-i: 2nd nic for edu servers
Diffstat (limited to 'bin')
-rw-r--r--bin/g-i-installation.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/bin/g-i-installation.sh b/bin/g-i-installation.sh
index af8caa5d..c9618274 100644
--- a/bin/g-i-installation.sh
+++ b/bin/g-i-installation.sh
@@ -220,7 +220,7 @@ bootstrap_system() {
;;
debian-edu*-server)
QEMU_OPTS="$QEMU_OPTS -net nic,vlan=1 -net user,vlan=1"
- EXTRA_APPEND="$EXTRA_APPEND interface=eth0"
+ EXTRA_APPEND="$EXTRA_APPEND interface=eth1"
;;
*) ;;
esac
@@ -292,7 +292,7 @@ boot_system() {
QEMU_OPTS="$QEMU_OPTS -drive file=$LV,index=0,media=disk,cache=unsafe -m $RAMSIZE"
case $NAME in
debian-edu*main-server|debian-edu*combi-server)
- QEMU_OPTS="$QEMU_OPTS -net nic,vlan=0 -net user,vlan=0,host=10.0.0.1,dhcpstart=10.0.2.2,dns=10.0.1.1 -net nic,vlan=1 -net user,vlan=1"
+ QEMU_OPTS="$QEMU_OPTS -net nic,vlan=0 -net user,vlan=0,host=10.0.0.1,dhcpstart=10.0.2.2,dns=10.0.1.1 -net nic,vlan=1 -net user,vlan=1 --append interface=eth1"
;;
*) QEMU_OPTS="$QEMU_OPTS -net nic,vlan=0 -net user,vlan=0,host=10.0.2.1,dhcpstart=10.0.2.2,dns=10.0.2.254"
;;