Last active
September 16, 2021 03:15
-
-
Save jacobweinstock/f54f411375c05650ca2658dd806b885e to your computer and use it in GitHub Desktop.
rancher ipxe script
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!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