diff options
author | Holger Levsen <holger@layer-acht.org> | 2013-01-07 20:15:46 +0100 |
---|---|---|
committer | Holger Levsen <holger@layer-acht.org> | 2013-01-07 20:15:46 +0100 |
commit | 7f583cd416dfeb1f2230a07646525c0de9884b68 (patch) | |
tree | 4b73df4b0d0b111147d74aaaf5d40f0e838a395d | |
parent | 1f5b607e6353493cbe1dd43636d86c66c60e04db (diff) | |
download | jenkins.debian.net-7f583cd416dfeb1f2230a07646525c0de9884b68.tar.xz |
g-i-tests: add qemu opts for 2nd nic for combi-servers
-rwxr-xr-x | bin/g-i-installation.sh | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/bin/g-i-installation.sh b/bin/g-i-installation.sh index ec5c7e8c..bf19ef8f 100755 --- a/bin/g-i-installation.sh +++ b/bin/g-i-installation.sh @@ -161,6 +161,9 @@ bootstrap_system() { debian_*_rescue*) EXTRA_APPEND="$EXTRA_APPEND rescue/enable=true" ;; + debian-edu*_combi-server) + QEMU_OPTS="$QEMU_OPTS -netdev user,id=7 -net nic -net user -net nic,model=e1000" + ;; *) ;; esac case $NAME in @@ -190,6 +193,12 @@ boot_system() { echo "Checking $NAME.raw:" file $NAME.raw # FIXME: exit here if image is not bootable + case $NAME in + debian-edu*_combi-server) + QEMU_OPTS="$QEMU_OPTS -netdev user,id=7 -net nic -net user -net nic,model=e1000" + ;; + *) ;; + esac echo echo "Starting QEMU_ now:" set -x |