[+] INSTALL_K3S_MIRROR=cn
Some checks failed
Build Docker Image / Explore-Gitea-Actions (push) Has been cancelled

This commit is contained in:
Martin 2025-04-08 15:28:17 +08:00
parent 3db6138e91
commit ea93cbd1b9

View File

@ -87,15 +87,7 @@ curl -sSL https://git.martin98.com/MartinFarm/init/raw/branch/main/init-k3s.sh |
EOF
else
cat <<EOF
------------------------------------------------------------------------------------
curl -sfL https://rancher-mirror.rancher.cn/k3s/k3s-install.sh | K3S_TOKEN=$TOKEN sh -s - server \\
--server https://$vip_ip:6443 \\
--tls-san=$vip_ip
------------------------------------------------------------------------------------
EOF
curl -sfL https://rancher-mirror.rancher.cn/k3s/k3s-install.sh | K3S_TOKEN=$TOKEN sh -s - server \
curl -sfL https://rancher-mirror.rancher.cn/k3s/k3s-install.sh | INSTALL_K3S_MIRROR=cn K3S_TOKEN=$TOKEN sh -s - server \
--server https://$vip_ip:6443 \
--tls-san=$vip_ip
fi