I am trying to convert my k3s script installation via curl -sfL
curl -sfL https://get.k3s.io | K3S_KUBECONFIG_MODE="644" INSTALL_K3S_EXEC="--flannel-backend=none --cluster-cidr="$cluster_cidr" --disable=traefik" sh -
to Airgap installation with command:
INSTALL_K3S_SKIP_DOWNLOAD=true /usr/local/bin/install.sh in shell script.
I want to pass same flags and env var K3S_KUBECONFIG_MODE="644" INSTALL_K3S_EXEC="--flannel-backend=none --cluster-cidr="$cluster_cidr" --disable=traefik" sh - in INSTALL_K3S_SKIP_DOWNLOAD installation the same way as I am giving in top most curl command ?
The top most curl command is working, but after replacing curl with SKIP_DOWNLOAD its failing.
PS: This is failing to set the flags and variables:
INSTALL_K3S_SKIP_DOWNLOAD=true /usr/local/bin/install.sh | K3S_KUBECONFIG_MODE="644" INSTALL_K3S_EXEC="--flannel-backend=none --cluster-cidr="$cluster_cidr" --disable=traefik" sh -
can someone help me here ?