rescuezilla.ipxe.j2 790 B

123456789101112131415161718192021222324252627282930
  1. #!ipxe
  2. # Rescuezilla Disk imaging
  3. # https://rescuezilla.com/
  4. :rescuezilla
  5. set os {{ utilitiesefi.rescuezilla.name }}
  6. menu ${os} Live CD
  7. {% for key, value in endpoints.items() | sort %}
  8. {% if value.os == "rescuezilla" %}
  9. item {{ value.os }}_{{ value.version }} ${space} ${os} {{ value.version }}
  10. {% endif %}
  11. {% endfor %}
  12. choose rescuezilla_version || goto rescuezilla_exit
  13. goto ${rescuezilla_version}
  14. {% for key, value in endpoints.items() | sort %}
  15. {% if value.os == "rescuezilla" %}
  16. :{{ value.os }}_{{ value.version }}
  17. set kernel_url ${live_endpoint}{{ value.path }}
  18. imgfree
  19. kernel ${kernel_url}vmlinuz ip=dhcp boot=casper netboot=url url=${kernel_url}filesystem.squashfs {{ kernel_params }}
  20. initrd ${kernel_url}initrd
  21. boot
  22. {% endif %}
  23. {% endfor %}
  24. :rescuezilla_exit
  25. clear menu
  26. exit 0