Commit 3009c2be authored by wangkx1's avatar wangkx1
Browse files

Update solve_ca_node3.sh

parent 0d19cc84
#!/bin/bash
# 1. 添加 10.17.30.230 hygon.ai.com 到 /etc/hosts 文件的末尾
HOST_ENTRY="10.0.5.172 dcu.ai.com"
HOST_ENTRY="10.0.51.172 bj.harbor.com"
HOSTS_FILE="/etc/hosts"
if ! grep -q "$HOST_ENTRY" "$HOSTS_FILE"; then
......@@ -13,8 +13,8 @@ fi
# 2. 从远程服务器下载 harbor.crt 文件
REMOTE_USER="root"
REMOTE_HOST="10.0.5.172"
REMOTE_PATH="/home/harbor/key/dcu.crt"
REMOTE_HOST="10.0.51.172"
REMOTE_PATH="/home/harbor/key/harbor.crt"
LOCAL_PATH="/etc/ssl/certs/"
echo "如需使用, 请私聊索要密码"
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment