mirror of
https://github.com/rancher/rancher-docs.git
synced 2026-05-22 04:45:19 +00:00
make the placements of the env vars clear
This commit is contained in:
@@ -46,6 +46,10 @@ When using this method to install K3s, the following environment variables can b
|
||||
| `INSTALL_K3S_CHANNEL_URL` | Channel URL for fetching K3s download URL. Defaults to https://update.k3s.io/v1-release/channels. |
|
||||
| `INSTALL_K3S_CHANNEL` | Channel to use for fetching K3s download URL. Defaults to "stable". Options include: `stable`, `latest`, `testing`. |
|
||||
|
||||
An example follows where to place aformentioned environment variables as options (after the pipe!):
|
||||
```
|
||||
curl -sfL https://get.k3s.io | INSTALL_K3S_CHANNEL=latest sh -
|
||||
```
|
||||
|
||||
Environment variables which begin with `K3S_` will be preserved for the systemd and openrc services to use.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user