live-lite.ipxe 727 B

12345678910111213141516171819202122232425262728
  1. #!ipxe
  2. goto ${menu} ||
  3. :live_menu
  4. set os Linux Lite
  5. menu ${os} - Current Arch [ ${arch} ]
  6. item --gap Use the username linuxlite with a blank password
  7. iseq ${arch} x86_64 && set arch_a amd64 || set arch_a ${arch}
  8. item --gap ${os} Versions
  9. item 4 ${space} ${os} 4
  10. choose live_version || goto live_exit
  11. goto ${live_version}
  12. :4
  13. set squash_url ${live_endpoint}{{ endpoints["linux-lite-4-squash"].path }}filesystem.squashfs
  14. set kernel_url ${live_endpoint}{{ endpoints["linux-lite-4-squash"].path }}
  15. goto live-boot
  16. :4-boot
  17. imgfree
  18. kernel ${kernel_url}vmlinuz ip=dhcp boot=casper netboot=http fetch=${squash_url} username=linuxlite userfullname=linuxlite initrd=initrd
  19. initrd ${kernel_url}initrd
  20. boot
  21. :live_exit
  22. clear menu
  23. exit 0