id

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

posted @ 2024-07-22 15:07  牧之丨  阅读(1)  评论(0编辑  收藏  举报