Booting RancherOS via iPXE


#!ipxe
# Boot a persistent RancherOS to RAM

# Location of Kernel/Initrd images
$ set base-url http://releases.rancher.com/os/latest

$ kernel ${base-url}/vmlinuz rancher.state.autoformat=[/dev/sda] rancher.cloud_init.datasources=[url:http://example.com/cloud-config]
$ initrd ${base-url}/initrd
$ boot

Datasources

Valid datasources for RancherOS.

type default
ec2 DefaultAddress
file path
url url
cmdline
configdrive
digitalocean DefaultAddress
gce

Cloud-Config

If you want to configure RancherOS using a cloud-config file, please review what’s supported.

Copyright © 2015 Rancher Labs. All Rights Reserved.