12345678910111213141516171819202122232425262728293031 |
- #!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
- echo Login in with username: rancher, password: rancher
- echo To install: ros install -d /dev/sda1
- imgfree
- kernel ${url}/${folder}/vmlinuz rancher.state.autoformat=[/dev/sda] rancher.password=rancher initrd=initrd
- initrd ${url}/${folder}/initrd
- boot
- :rancheros_exit
- clear menu
- exit 0
|