1234567891011121314151617181920212223242526272829 |
- #!ipxe
- # RancherOS
- # http://rancher.com/rancher-os/
- :rancheros_menu
- set os {{ releases.rancheros.name }}
- set url ${rancheros_mirror}
- menu ${os}
- {% for item in releases.rancheros.versions %}
- item {{ item.code_name }} ${space} ${os} {{ item.name }}
- {% endfor %}
- choose version || goto rancheros_exit
- goto ${version}
- :latest
- echo ${cls}
- set folder ${rancheros_base_dir}
- goto boot
- :boot
- imgfree
- kernel ${url}/${folder}/vmlinuz rancher.autologin=tty1 initrd=initrd ${cmdline}
- initrd ${url}/${folder}/initrd
- boot
- :rancheros_exit
- clear menu
- exit 0
|