[agent-wdd] 小修改

This commit is contained in:
zeaslity
2025-02-28 11:34:57 +08:00
parent b28c6462f1
commit bffb643a56
4 changed files with 59 additions and 9 deletions

View File

@@ -16,11 +16,11 @@ try {
Write-Host "4. Exec the command ..." -ForegroundColor Blue
Write-Host ""
Write-Host ""
ssh root@192.168.35.71 "chmod +x agent-wdd_linux_amd64 && ./agent-wdd_linux_amd64 download http://192.168.35.70:9000/ping/ 123.txt"
ssh root@192.168.35.71 "chmod +x agent-wdd_linux_amd64 && ./agent-wdd_linux_amd64 info network"
Write-Host ""
Write-Host ""
# Write-Host "5. Cheak Info Result ..." -ForegroundColor Blue
# ssh root@192.168.35.71 "cat /usr/local/etc/wdd/agent-wdd-config.yaml"
Write-Host "5. Cheak Info Result ..." -ForegroundColor Blue
ssh root@192.168.35.71 "cat /usr/local/etc/wdd/agent-wdd-config.yaml"
} catch {
Write-Host "操作失败: $_" -ForegroundColor Red