summaryrefslogtreecommitdiff
path: root/qemu.sh
diff options
context:
space:
mode:
authorAndrew Cady <d@jerkface.net>2016-04-19 09:35:26 -0400
committerAndrew Cady <d@jerkface.net>2016-04-19 09:35:26 -0400
commit3b5b679166df95ba2ce2e507e008da04d5efd4da (patch)
tree39c3fd0331a4a032589f1a95d3e7ae03a1590528 /qemu.sh
parent06d9f30f1ba54edeadb953fe870dcc22e71519e0 (diff)
rebuild initrd as necessary before qemu
Diffstat (limited to 'qemu.sh')
-rwxr-xr-xqemu.sh6
1 files changed, 5 insertions, 1 deletions
diff --git a/qemu.sh b/qemu.sh
index 2955c20..5c0abd2 100755
--- a/qemu.sh
+++ b/qemu.sh
@@ -1,7 +1,11 @@
1#!/bin/sh 1#!/bin/sh
2 2
3# img=debian-live-8.4.0-amd64-gnome-desktop.iso 3# img=debian-live-8.4.0-amd64-gnome-desktop.iso
4img=debian-live-8.4.0-amd64-standard.iso 4# img=debian-live-8.4.0-amd64-standard.iso
5img=debian-live-8.4.0-amd64-standard.btrfs.iso
6
7./initrd.sh
8
5sudo qemu-system-x86_64 -enable-kvm -smp 2 -m 640 -k en-us \ 9sudo qemu-system-x86_64 -enable-kvm -smp 2 -m 640 -k en-us \
6 -vga qxl \ 10 -vga qxl \
7 -net nic,vlan=0,model=virtio \ 11 -net nic,vlan=0,model=virtio \