[+] 更新 bash
All checks were successful
Build Docker Image / Explore-Gitea-Actions (push) Successful in 13s
All checks were successful
Build Docker Image / Explore-Gitea-Actions (push) Successful in 13s
This commit is contained in:
parent
1e3d6cfcaa
commit
3db6138e91
@ -87,6 +87,14 @@ curl -sSL https://git.martin98.com/MartinFarm/init/raw/branch/main/init-k3s.sh |
|
|||||||
EOF
|
EOF
|
||||||
|
|
||||||
else
|
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 | K3S_TOKEN=$TOKEN sh -s - server \
|
||||||
--server https://$vip_ip:6443 \
|
--server https://$vip_ip:6443 \
|
||||||
--tls-san=$vip_ip
|
--tls-san=$vip_ip
|
||||||
|
Loading…
x
Reference in New Issue
Block a user