summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xsrc/qemu.sh4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/qemu.sh b/src/qemu.sh
index 2033f0e..b6c0a19 100755
--- a/src/qemu.sh
+++ b/src/qemu.sh
@@ -60,6 +60,10 @@ case $(arch) in
60 *) qemu=qemu-system-i386 ;; 60 *) qemu=qemu-system-i386 ;;
61esac 61esac
62 62
63if [ ! -e "$disk" ]; then
64 fallocate -l 10GB "$disk"
65fi
66
63set -x 67set -x
64sudo ${qemu} -enable-kvm -smp 2 -m 640 -k en-us \ 68sudo ${qemu} -enable-kvm -smp 2 -m 640 -k en-us \
65 -vga qxl \ 69 -vga qxl \