Commit 7235376c by tingweiwang

Update deploy-gpu-k8s.sh

1 parent 493f16de
Showing with 1 additions and 1 deletions
...@@ -14,7 +14,7 @@ interface=eno1 #本机IP的物理网卡名称,用于flannel的配置。 ...@@ -14,7 +14,7 @@ interface=eno1 #本机IP的物理网卡名称,用于flannel的配置。
#ssh-keygen -y -f id_rsa > id_rsa.pub 私钥生成公钥 #ssh-keygen -y -f id_rsa > id_rsa.pub 私钥生成公钥
echo "开始安装ansbile" echo "开始安装ansbile"
apt update --allow-insecure-repositories apt update --allow-insecure-repositories
apt install nfs-common sshpass ansible -y --allow-unauthenticated apt install conntrack nfs-common sshpass ansible -y --allow-unauthenticated
echo "拷贝ansible-hosts文件" echo "拷贝ansible-hosts文件"
cp -a /root/k8s/config/ansible-hosts /etc/ansible/hosts cp -a /root/k8s/config/ansible-hosts /etc/ansible/hosts
echo "渲染修改ansible hosts" echo "渲染修改ansible hosts"
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!