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:
parent
cdc3a189ad
commit
73f12a9004
@ -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).
|
||||
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user