From e629fd381d4bf47bcca2162da9c0c5b2ac1dbdcf Mon Sep 17 00:00:00 2001 From: omichaelis <38879457+oliviermichaelis@users.noreply.github.com> Date: Sun, 3 May 2020 18:26:59 +0200 Subject: [PATCH] Replace deprecated option The option --no-deploy was deprecated by https://github.com/rancher/k3s/commit/0374c4f63d056df01c3e9e8cf4d77a6461169070 and is now replaced in the install.sh documentation by --disable Signed-off-by: omichaelis <38879457+oliviermichaelis@users.noreply.github.com> --- install.sh | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/install.sh b/install.sh index 2d81e8d524..942d21c22f 100755 --- a/install.sh +++ b/install.sh @@ -8,7 +8,7 @@ set -e # # Example: # Installing a server without traefik: -# curl ... | INSTALL_K3S_EXEC="--no-deploy=traefik" sh - +# curl ... | INSTALL_K3S_EXEC="--disable=traefik" sh - # Installing an agent to point at a server: # curl ... | K3S_TOKEN=xxx K3S_URL=https://server-url:6443 sh - # @@ -59,11 +59,11 @@ set -e # of EXEC and script args ($@). # # The following commands result in the same behavior: -# curl ... | INSTALL_K3S_EXEC="--no-deploy=traefik" sh -s - -# curl ... | INSTALL_K3S_EXEC="server --no-deploy=traefik" sh -s - -# curl ... | INSTALL_K3S_EXEC="server" sh -s - --no-deploy=traefik -# curl ... | sh -s - server --no-deploy=traefik -# curl ... | sh -s - --no-deploy=traefik +# curl ... | INSTALL_K3S_EXEC="--disable=traefik" sh -s - +# curl ... | INSTALL_K3S_EXEC="server --disable=traefik" sh -s - +# curl ... | INSTALL_K3S_EXEC="server" sh -s - --disable=traefik +# curl ... | sh -s - server --disable=traefik +# curl ... | sh -s - --disable=traefik # # - INSTALL_K3S_NAME # Name of systemd service to create, will default from the k3s exec command