diff options
Diffstat (limited to 'tftp/test.ipxe')
| -rw-r--r-- | tftp/test.ipxe | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/tftp/test.ipxe b/tftp/test.ipxe new file mode 100644 index 0000000..f4ee267 --- /dev/null +++ b/tftp/test.ipxe | |||
| @@ -0,0 +1,25 @@ | |||
| 1 | #!ipxe | ||
| 2 | |||
| 3 | :start | ||
| 4 | #console --picture http://boot.ipxe.org/ipxe.png | ||
| 5 | menu debian | ||
| 6 | item --gap -- ---------------------- Net installer ----------------------------- | ||
| 7 | item --key 3 Debian9_x86 Debian 9 (3)2-bit net install | ||
| 8 | item --key 6 Debian9_x86_64 Debian 9 (6)4-bit net install | ||
| 9 | item --gap -- ------------------------- Options -------------------------------- | ||
| 10 | item --key g goback (G)o back to previous menu | ||
| 11 | choose version && goto ${version} || goto start | ||
| 12 | |||
| 13 | :Debian9_x86 | ||
| 14 | echo Booting Debian 9 32-bit | ||
| 15 | kernel http://deb.debian.org/debian/dists/stretch/main/installer-i386/current/images/netboot/debian-installer/i386/linux initrd=initrd.gz | ||
| 16 | initrd http://deb.debian.org/debian/dists/stretch/main/installer-i386/current/images/netboot/debian-installer/i386/initrd.gz | ||
| 17 | boot || imgfree | ||
| 18 | goto start | ||
| 19 | |||
| 20 | :Debian9_x86_64 | ||
| 21 | echo Booting Debian 9 64-bit | ||
| 22 | kernel http://deb.debian.org/debian/dists/trixie/main/installer-amd64/current/images/netboot/debian-installer/amd64/linux initrd=initrd.gz | ||
| 23 | initrd http://deb.debian.org/debian/dists/trixie/main/installer-amd64/current/images/netboot/debian-installer/amd64/initrd.gz | ||
| 24 | boot || imgfree | ||
| 25 | goto start | ||
