From 4765a201a4965095c82ebf97effc0b24c9e5287b Mon Sep 17 00:00:00 2001 From: 205g0 <74575852+205g0@users.noreply.github.com> Date: Mon, 3 May 2021 05:21:42 +0200 Subject: [PATCH] make the placements of the env vars clear --- content/k3s/latest/en/installation/install-options/_index.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/content/k3s/latest/en/installation/install-options/_index.md b/content/k3s/latest/en/installation/install-options/_index.md index efab7e77072..084bd39600a 100644 --- a/content/k3s/latest/en/installation/install-options/_index.md +++ b/content/k3s/latest/en/installation/install-options/_index.md @@ -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.