mirror of
https://github.com/rancher/os.git
synced 2025-09-01 14:48:55 +00:00
save the elided cmdline into an env var
Signed-off-by: Sven Dowideit <SvenDowideit@home.org.au>
This commit is contained in:
@@ -29,6 +29,8 @@ For example, the `kernel` line above could be written as:
|
||||
kernel ${base-url}/vmlinuz rancher.state.dev=LABEL=RANCHER_STATE rancher.state.autoformat=[/dev/sda] -- rancher.cloud_init.datasources=[url:http://example.com/cloud-config]
|
||||
```
|
||||
|
||||
The hidden part of the command line can be accessed with either `sudo ros config get rancher.environment.EXTRA_CMDLINE`, or by using a service file's environment array.
|
||||
|
||||
|
||||
### cloud-init Datasources
|
||||
|
||||
|
Reference in New Issue
Block a user