diff options
-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' |