summaryrefslogtreecommitdiffstats
path: root/bin
diff options
context:
space:
mode:
authorHolger Levsen <holger@layer-acht.org>2013-07-25 14:46:21 +0200
committerHolger Levsen <holger@layer-acht.org>2013-07-25 14:46:21 +0200
commit90454529da6ffe0f80a8c9cd9ae346aa445090ec (patch)
treedbc02ffa007e5dad551eaf0b76d5a16caf1d7b04 /bin
parent15090d987fae54ad184c2542e8c51ba600562551 (diff)
downloadjenkins.debian.net-90454529da6ffe0f80a8c9cd9ae346aa445090ec.tar.xz
enable KVM, should work now
Diffstat (limited to 'bin')
-rwxr-xr-xbin/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 9ff67026..d8f7ada9 100755
--- a/bin/g-i-installation.sh
+++ b/bin/g-i-installation.sh
@@ -127,7 +127,7 @@ bootstrap_system() {
qemu-img create -f raw $NAME.raw ${DISKSIZE_IN_GB}G
echo "Doing g-i installation test for $NAME now."
# qemu related variables (incl kernel+initrd) - display first, as we grep for this in the process list
- QEMU_OPTS="-display vnc=$DISPLAY -no-shutdown"
+ QEMU_OPTS="-display vnc=$DISPLAY -no-shutdown -enable-kvm"
if [ -n "$IMAGE" ] ; then
QEMU_OPTS="$QEMU_OPTS -cdrom $IMAGE -boot d"
case $NAME in
@@ -227,7 +227,7 @@ boot_system() {
cd $WORKSPACE
echo "Booting system installed with g-i installation test for $NAME."
# qemu related variables (incl kernel+initrd) - display first, as we grep for this in the process list
- QEMU_OPTS="-display vnc=$DISPLAY -no-shutdown"
+ QEMU_OPTS="-display vnc=$DISPLAY -no-shutdown -enable-kvm"
QEMU_OPTS="$QEMU_OPTS -drive file=$NAME.raw,index=0,media=disk,cache=writeback -m $RAMSIZE -net nic,vlan=0 -net user,vlan=0,host=10.0.2.1,dhcpstart=10.0.2.2,dns=10.0.2.254"
echo "Checking $NAME.raw:"
FILE=$(file $NAME.raw)