Skip to content

Instantly share code, notes, and snippets.

@jacobweinstock
Last active September 16, 2021 03:15
Show Gist options
  • Save jacobweinstock/f54f411375c05650ca2658dd806b885e to your computer and use it in GitHub Desktop.
Save jacobweinstock/f54f411375c05650ca2658dd806b885e to your computer and use it in GitHub Desktop.
rancher ipxe script
#!ipxe
# RancherOS
# http://rancher.com/rancher-os/
:rancheros_menu
set os RancherOS
set url http://releases.rancher.com
menu ${os}
item latest ${space} ${os} Latest (20 MB)
choose version || goto rancheros_exit
goto ${version}
:latest
echo ${cls}
set folder os/latest
goto boot
:boot
imgfree
kernel ${url}/${folder}/vmlinuz rancher.autologin=tty1 rancher.password=rancher
initrd ${url}/${folder}/initrd
boot
:rancheros_exit
clear menu
exit 0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment