[+] 更新 bash
All checks were successful
Build Docker Image / Explore-Gitea-Actions (push) Successful in 13s

This commit is contained in:
Martin 2025-04-08 15:27:00 +08:00
parent 1e3d6cfcaa
commit 3db6138e91

View File

@ -87,6 +87,14 @@ 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 \
--server https://$vip_ip:6443 \
--tls-san=$vip_ip