id

牧之丨發表於2024-07-22

sudo hostnamectl set-hostname nvx60-95
sudo hostnamectl set-hostname nvx60-96

cat hosts >> /etc/hosts

ssh-keygen -t rsa -b 4096 -C "nvx60-95@xxx.com"

ssh-copy-id nvx60-96

baize_normal_port_range=n1-n2
baize_cc_port_range=n1-n2


cat >> /etc/rancher/k3s/registries.yaml <<EOF
mirrors:
"192.168.50.32":
endpoint:
- "https://192.168.50.32"
configs:
"192.168.50.32":
auth:
username: mpc
password: xxxxxx
EOF

相關文章