ubuntu-spins.ipxe.j2 733 B

1234567891011121314151617181920212223242526272829303132333435
  1. #!ipxe
  2. goto ${menu} ||
  3. :live_menu
  4. set os Ubuntu Spins
  5. menu ${os}
  6. item --gap ${os} Versions
  7. {% for key, value in endpoints.items() | sort %}
  8. {% if value.os == "ubuntu-spins" %}
  9. item spins_{{ value.version }} ${space} ${os} {{ value.version }}
  10. {% endif %}
  11. {% endfor %}
  12. choose ubuntu_spins || goto live_exit
  13. menu ${os}
  14. item --gap ${os} Flavors
  15. goto ${ubuntu_spins}
  16. {% for key, value in endpoints.items() | sort %}
  17. {% if value.os == "ubuntu-spins" %}
  18. :spins_{{ value.version }}
  19. set kernel_url ${live_endpoint}{{ value.path }}
  20. goto boot
  21. {% endif %}
  22. {% endfor %}
  23. :boot
  24. imgfree
  25. kernel ${kernel_url}vmlinuz iso-chooser-menu boot=casper ip=dhcp initrd=initrd.magic ${cmdline}
  26. initrd ${kernel_url}initrd
  27. boot
  28. :live_exit
  29. clear menu
  30. exit 0