项目重构
This commit is contained in:
18
0-部署应用/Oracle-Cloud/k3s集群/Seoul-amd64-01.sh
Normal file
18
0-部署应用/Oracle-Cloud/k3s集群/Seoul-amd64-01.sh
Normal file
@@ -0,0 +1,18 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
|
||||
|
||||
curl -fsSL https://pkgs.tailscale.com/stable/ubuntu/focal.noarmor.gpg | sudo tee /usr/share/keyrings/tailscale-archive-keyring.gpg >/dev/null
|
||||
curl -fsSL https://pkgs.tailscale.com/stable/ubuntu/focal.tailscale-keyring.list | sudo tee /etc/apt/sources.list.d/tailscale.list
|
||||
|
||||
sudo apt-get update
|
||||
sudo apt-get install tailscale
|
||||
|
||||
systemctl enable --now tailscaled
|
||||
|
||||
tailscale up --login-server=http://tailscale.107421.xyz --accept-routes=false --accept-dns=false --advertise-routes=10.100.0.0/16,10.74.0.0/16
|
||||
|
||||
|
||||
systemctl status tailscaled
|
||||
|
||||
headscale routes enable -i 26 -r 10.74.0.0/16,10.100.0.0/16
|
||||
Reference in New Issue
Block a user