12345678910111213141516171819202122232425262728293031323334353637383940 |
- #!ipxe
- isset ${server-ip} || set server-ip www.adriankoshka.xyz
- :start
- menu fedora
- item --gap -- ------------------------- Options ----------------------------------
- item fed-32 Fedora 32-bit
- item fed-64 Fedora 64-bit
- item --key c kickoff (C)ustom Kickstart script
- item --key g goback (G)o back to previous menu
- choose version && goto ${version} || goto start
- :kickoff
- cpuid --ext 29 && set arch x86_64 || set arch i386
- read edition
- echo -n Kickstart location :
- read script-location
- kernel http://mirror.cs.princeton.edu/pub/mirrors/fedora/linux/releases/26/Everything/${arch}/os/images/pxeboot/vmlinuz repo=http://mirror.cs.princeton.edu/pub/mirrors/fedora/linux/releases/26/EverythinG/${ARCH}/os/ initrd=initrd.img ip=dhcp ks=${script-location}
- initrd http://mirror.cs.princeton.edu/pub/mirrors/fedora/linux/releases/26/Everything/${arch}/os/images/pxeboot/initrd.img
- boot
- :fed-32
- kernel http://mirror.math.princeton.edu/pub/fedora-secondary/releases/26/Everything/i386/os/images/pxeboot/vmlinuz-PAE repo=http://mirror.math.princeton.edu/pub/fedora-secondary/releases/26/Everything/i386/os initrd=initrd-PAE.img ip=dhcp
- initrd http://mirror.math.princeton.edu/pub/fedora-secondary/releases/26/Everything/i386/os/images/pxeboot/initrd-PAE.img
- boot
- :fed-64
- kernel http://mirror.cs.princeton.edu/pub/mirrors/fedora/linux/releases/26/Everything/x86_64/os/images/pxeboot/vmlinuz repo=http://mirror.cs.princeton.edu/pub/mirrors/fedora/linux/releases/26/Everything/x86_64/os initrd=initrd.img ip=dhcp
- initrd http://mirror.cs.princeton.edu/pub/mirrors/fedora/linux/releases/26/Everything/x86_64/os/images/pxeboot/initrd.img
- boot
- :goback
- chain http://${server-ip}/boot/linux/fed.ipxe
- :goback-start
- goto start
|