rancheros.ipxe.j2 671 B

12345678910111213141516171819202122232425262728293031
  1. #!ipxe
  2. # RancherOS
  3. # http://rancher.com/rancher-os/
  4. :rancheros_menu
  5. set os {{ releases.rancheros.name }}
  6. set url ${rancheros_mirror}
  7. menu ${os}
  8. {% for item in releases.rancheros.versions %}
  9. item {{ item.code_name }} ${space} ${os} {{ item.name }}
  10. {% endfor %}
  11. choose version || goto rancheros_exit
  12. goto ${version}
  13. :latest
  14. echo ${cls}
  15. set folder ${rancheros_base_dir}
  16. goto boot
  17. :boot
  18. echo Login in with username: rancher, password: rancher
  19. echo To install: ros install -d /dev/sda1
  20. imgfree
  21. kernel ${url}/${folder}/vmlinuz rancher.state.autoformat=[/dev/sda] rancher.password=rancher initrd=initrd
  22. initrd ${url}/${folder}/initrd
  23. boot
  24. :rancheros_exit
  25. clear menu
  26. exit 0