Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Debian QA
jenkins.debian.net
Commits
90454529
Commit
90454529
authored
Jul 25, 2013
by
Holger Levsen
Browse files
enable KVM, should work now
parent
15090d98
Changes
1
Hide whitespace changes
Inline
Side-by-side
bin/g-i-installation.sh
View file @
90454529
...
...
@@ -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
)
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment