diff options
author | Andrew Cady <d@jerkface.net> | 2016-04-28 10:01:59 -0400 |
---|---|---|
committer | Andrew Cady <d@jerkface.net> | 2016-04-28 10:01:59 -0400 |
commit | 3488e06a31c67586217791c8c1d8f44fbb82afd6 (patch) | |
tree | e61b56d4697940b29d031f1f727fbfc204bf83fe /qemu.sh | |
parent | 11cb69cfc4592f0a36c1db3e0086f4a22fd9a972 (diff) |
qemu.sh now defaults to booting samizdat.iso
Diffstat (limited to 'qemu.sh')
-rwxr-xr-x | qemu.sh | 9 |
1 files changed, 6 insertions, 3 deletions
@@ -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 |
5 | iso=debian-live-8.4.0-amd64-standard.btrfs.iso | 5 | # iso=debian-live-8.4.0-amd64-standard.btrfs.iso |
6 | disk=${iso%.iso}.disk | 6 | iso=samizdat.iso |
7 | disk=debian-live-8.4.0-amd64-standard.btrfs.disk | ||
7 | layered=${iso%.iso}.layered.iso | 8 | layered=${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' | ||
16 | NET='tap,vlan=0,ifname=tap0,script=no,downscript=no' | 16 | NET='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 | |||
18 | initrd=isolinux/linux/initrd.img | 21 | initrd=isolinux/linux/initrd.img |
19 | kernel=isolinux/linux/vmlinuz | 22 | kernel=isolinux/linux/vmlinuz |
20 | kcmdline='boot=samizdat components quiet splash' | 23 | kcmdline='boot=samizdat components quiet splash' |