mirror of
https://github.com/rancher/os.git
synced 2025-08-07 09:44:19 +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
|
### 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 |
|
| type | default |
|
||||||
|---|---|
|
|---|---|
|
||||||
| ec2 | DefaultAddress |
|
| ec2 | DefaultAddress |
|
||||||
| file | path |
|
| file | path |
|
||||||
| url | url |
|
|
||||||
| cmdline | |
|
| cmdline | |
|
||||||
| configdrive | |
|
| configdrive | |
|
||||||
| digitalocean | DefaultAddress |
|
| digitalocean | DefaultAddress |
|
||||||
|
| ec2 | DefaultAddress |
|
||||||
|
| file | path |
|
||||||
| gce | |
|
| gce | |
|
||||||
|
| packet | DefaultAddress |
|
||||||
|
| url | url |
|
||||||
|
|
||||||
### Cloud-Config
|
### Cloud-Config
|
||||||
|
|
||||||
When booting via iPXE, RancherOS can be configured using a [cloud-config file]({{site.baseurl}}/os/configuration/#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
|
#!ipxe
|
||||||
dhcp
|
dhcp
|
||||||
set base-url https://releases.rancher.com/os/latest
|
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
|
initrd ${base-url}/initrd
|
||||||
boot
|
boot
|
||||||
|
Loading…
Reference in New Issue
Block a user