1
0

rancheros.ipxe 562 B

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