Skip to content

Commit

Permalink
fix: bugs
Browse files Browse the repository at this point in the history
  • Loading branch information
iSecloud committed Sep 9, 2024
1 parent 5e875f8 commit 2d2f00d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dbm-ui/backend/db_proxy/container/drs/start.bash
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ export DRS_WEBCONSOLE_USER=$(echo $data | jq -r '.data.webconsole_account.user')
export DRS_WEBCONSOLE_PASSWORD=$(echo $data | jq -r '.data.webconsole_account.password')

# 将dns ip添加到nameserver
awk "{print \"nameserver \" \$0}" ./shard_env/dns_ip > dns_nameserver.conf
awk -F, '{for(i=1; i<=NF; i++) print "nameserver " $i}' shard_env/dns_ip > dns_nameserver.conf
cp /etc/resolv.conf /etc/resolv.conf.bak
cat dns_nameserver.conf /etc/resolv.conf.bak > /etc/resolv.conf

Expand Down

0 comments on commit 2d2f00d

Please sign in to comment.