summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xqemu.sh9
1 files changed, 6 insertions, 3 deletions
diff --git a/qemu.sh b/qemu.sh
index eaccb13..5553e7b 100755
--- a/qemu.sh
+++ b/qemu.sh
@@ -2,8 +2,9 @@
2 2
3# iso=debian-live-8.4.0-amd64-gnome-desktop.iso 3# iso=debian-live-8.4.0-amd64-gnome-desktop.iso
4# iso=debian-live-8.4.0-amd64-standard.iso 4# iso=debian-live-8.4.0-amd64-standard.iso
5iso=debian-live-8.4.0-amd64-standard.btrfs.iso 5# iso=debian-live-8.4.0-amd64-standard.btrfs.iso
6disk=${iso%.iso}.disk 6iso=samizdat.iso
7disk=debian-live-8.4.0-amd64-standard.btrfs.disk
7layered=${iso%.iso}.layered.iso 8layered=${iso%.iso}.layered.iso
8 9
9[ -f "$layered" ] && iso=$layered 10[ -f "$layered" ] && iso=$layered
@@ -12,9 +13,11 @@ layered=${iso%.iso}.layered.iso
12 13
13./initrd.sh || { echo "./initrd.sh failed" >&2; exit 1; }; 14./initrd.sh || { echo "./initrd.sh failed" >&2; exit 1; };
14 15
15# NET='user,tftp=isolinux,bootfile=/pxelinux.0'
16NET='tap,vlan=0,ifname=tap0,script=no,downscript=no' 16NET='tap,vlan=0,ifname=tap0,script=no,downscript=no'
17 17
18# To test local pxe boot server:
19# NET='user,tftp=isolinux,bootfile=/pxelinux.0'
20
18initrd=isolinux/linux/initrd.img 21initrd=isolinux/linux/initrd.img
19kernel=isolinux/linux/vmlinuz 22kernel=isolinux/linux/vmlinuz
20kcmdline='boot=samizdat components quiet splash' 23kcmdline='boot=samizdat components quiet splash'