大量更新

This commit is contained in:
zeaslity
2026-05-19 14:28:44 +08:00
parent a8f6bda703
commit 9fc3372fa3
5299 changed files with 423176 additions and 426690 deletions

View File

@@ -1,4 +1,5 @@
144.7.97.167
mv agent-wdd_linux_amd64 /usr/local/bin/agent-wdd
chmod +x /usr/local/bin/agent-wdd
@@ -7,6 +8,8 @@ chmod +x /usr/local/bin/agent-wdd
/usr/local/bin/agent-wdd base ssh config
/usr/local/bin/agent-wdd base ssh key
10.22.57.8
# 批量执行命令
host_list=(
10.22.57.5
@@ -19,8 +22,12 @@ host_list=(
for server in "${host_list[@]}";do
echo "current ip is $server"
ssh root@${server} "systemctl restart docker"
ssh root@${server} "docker info"
ssh root@${server} "
sed -i 's/^#NTP=.*/NTP=10.22.57.8/' /etc/systemd/timesyncd.conf
sed -i 's/^#FallbackNTP=.*/FallbackNTP=/' /etc/systemd/timesyncd.conf
systemctl restart systemd-timesyncd
timedatectl status
"
echo ""
done