1
0
mirror of https://github.com/rancher/os.git synced 2025-07-31 22:47:16 +00:00

Add the packet datasource, and make the repo rancheros.ipxe be generic, so we can use it for many different systems

Signed-off-by: Sven Dowideit <SvenDowideit@home.org.au>
This commit is contained in:
Sven Dowideit 2017-04-27 14:51:06 -07:00
parent cdc3a189ad
commit 73f12a9004
2 changed files with 7 additions and 3 deletions

View File

@ -48,18 +48,22 @@ When this service is run, the `EXTRA_CMDLINE` will be set.
### cloud-init Datasources
Valid [datasources](https://github.com/rancher/os/blob/3338c4ac63597940bcde7e6005f1cc09287062a2/cmd/cloudinit/cloudinit.go#L378) for RancherOS.
Valid cloud-init datasources for RancherOS.
| type | default |
|---|---|
| ec2 | DefaultAddress |
| file | path |
| url | url |
| cmdline | |
| configdrive | |
| digitalocean | DefaultAddress |
| ec2 | DefaultAddress |
| file | path |
| gce | |
| packet | DefaultAddress |
| url | url |
### Cloud-Config
When booting via iPXE, RancherOS can be configured using a [cloud-config file]({{site.baseurl}}/os/configuration/#cloud-config).

View File

@ -1,6 +1,6 @@
#!ipxe
dhcp
set base-url https://releases.rancher.com/os/latest
kernel ${base-url}/vmlinuz printk.devkmsg=on rancher.state.dev=LABEL=RANCHER_STATE rancher.state.wait console=tty0 rancher.state.mdadm_scan console=ttyS1,115200n8 rancher.autologin=ttyS1 rancher.network.interfaces.eth*.dhcp=true
kernel ${base-url}/vmlinuz printk.devkmsg=on rancher.debug=true rancher.state.dev=LABEL=RANCHER_STATE rancher.state.wait console=tty0 rancher.state.mdadm_scan console=ttyS1,115200n8 rancher.autologin=ttyS1 rancher.network.interfaces.eth*.dhcp=true rancher.cloud_init.datasources=[configdrive,ec2,gce,packet,digitalocean]
initrd ${base-url}/initrd
boot