Resize scratch image, and use GTK display
This commit is contained in:
parent
c41280a8fa
commit
020b51ecbf
|
@ -22,6 +22,7 @@ done
|
||||||
if [ ! -f ${BASEIMG} ]
|
if [ ! -f ${BASEIMG} ]
|
||||||
then
|
then
|
||||||
qemu-img convert -f raw -O qcow2 ${IMGDIR}/qemu-amd64.img ${BASEIMG}
|
qemu-img convert -f raw -O qcow2 ${IMGDIR}/qemu-amd64.img ${BASEIMG}
|
||||||
|
qemu-img resize ${BASEIMG} 4G
|
||||||
fi
|
fi
|
||||||
if [ ! -f ${TMPIMG} ]
|
if [ ! -f ${TMPIMG} ]
|
||||||
then
|
then
|
||||||
|
@ -43,4 +44,4 @@ qemu-system-x86_64 \
|
||||||
-vga virtio \
|
-vga virtio \
|
||||||
-enable-kvm \
|
-enable-kvm \
|
||||||
-cpu host \
|
-cpu host \
|
||||||
-display none,show-cursor=on
|
-display gtk
|
||||||
|
|
Loading…
Reference in New Issue