diff options
author | Andrew Cady <d@jerkface.net> | 2016-04-19 09:35:26 -0400 |
---|---|---|
committer | Andrew Cady <d@jerkface.net> | 2016-04-19 09:35:26 -0400 |
commit | 3b5b679166df95ba2ce2e507e008da04d5efd4da (patch) | |
tree | 39c3fd0331a4a032589f1a95d3e7ae03a1590528 /qemu.sh | |
parent | 06d9f30f1ba54edeadb953fe870dcc22e71519e0 (diff) |
rebuild initrd as necessary before qemu
Diffstat (limited to 'qemu.sh')
-rwxr-xr-x | qemu.sh | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -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 |
4 | img=debian-live-8.4.0-amd64-standard.iso | 4 | # img=debian-live-8.4.0-amd64-standard.iso |
5 | img=debian-live-8.4.0-amd64-standard.btrfs.iso | ||
6 | |||
7 | ./initrd.sh | ||
8 | |||
5 | sudo qemu-system-x86_64 -enable-kvm -smp 2 -m 640 -k en-us \ | 9 | sudo 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 \ |