From f24016632e13ebd3ec356bdf0ef9c599f55b2100 Mon Sep 17 00:00:00 2001 From: Andrew Cady Date: Fri, 22 Apr 2016 16:03:48 -0400 Subject: qemu will boot layered-seed iso --- qemu.sh | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/qemu.sh b/qemu.sh index 82c0c9f..ae23152 100755 --- a/qemu.sh +++ b/qemu.sh @@ -1,8 +1,10 @@ #!/bin/sh -# img=debian-live-8.4.0-amd64-gnome-desktop.iso -# img=debian-live-8.4.0-amd64-standard.iso -img=debian-live-8.4.0-amd64-standard.btrfs.iso +# iso=debian-live-8.4.0-amd64-gnome-desktop.iso +# iso=debian-live-8.4.0-amd64-standard.iso +iso=debian-live-8.4.0-amd64-standard.btrfs.iso +disk=${iso%.iso}.disk +iso=${iso%.iso}.layered.iso ./initrd.sh || { echo "./initrd.sh failed" >&2; exit 1; }; @@ -18,6 +20,6 @@ sudo qemu-system-x86_64 -enable-kvm -smp 2 -m 640 -k en-us \ -net nic,vlan=0,model=virtio \ -net "$NET" \ -rtc base=localtime \ - -cdrom "$img" \ - -hda "${img%.iso}.disk" \ + -cdrom "$iso" \ + -hda "$disk" \ -initrd "$initrd" -kernel "$kernel" -append "$kcmdline" -- cgit v1.2.3