ubuntu.ipxe 1.1 KB

123456789101112131415161718192021222324252627
  1. #!ipxe
  2. isset ${server-ip} || set server-ip www.adriankoshka.xyz
  3. :start
  4. menu ubuntu
  5. item --gap -- -------------------------- Arch ----------------------------------
  6. item --key 6 ubuntu_x86_64 Ubuntu 16.04 x86_(6)4
  7. item --key 8 ubuntu_x86 Ubuntu 16.04 x(8)6
  8. item --gap -- ------------------------- Options --------------------------------
  9. item --key g goback (G)o back to previous menu
  10. choose version && goto ${version} || goto start
  11. :goback
  12. chain http://${server-ip}/boot/linux.ipxe
  13. :ubuntu_x86
  14. kernel http://archive.ubuntu.com/ubuntu/dists/xenial/main/installer-i386/current/images/netboot/ubuntu-installer/i386/linux initrd=initrd.gz
  15. initrd http://archive.ubuntu.com/ubuntu/dists/xenial/main/installer-i386/current/images/netboot/ubuntu-installer/i386/initrd.gz
  16. boot || imgfree
  17. shell
  18. :ubuntu_x86_64
  19. kernel http://archive.ubuntu.com/ubuntu/dists/xenial/main/installer-amd64/current/images/netboot/ubuntu-installer/amd64/linux initrd=initrd.gz
  20. initrd http://archive.ubuntu.com/ubuntu/dists/xenial/main/installer-amd64/current/images/netboot/ubuntu-installer/amd64/initrd.gz
  21. boot || imgfree
  22. shell