diff --git a/.idea/dataSources.local.xml b/.idea/dataSources.local.xml index bc152f7..339453d 100644 --- a/.idea/dataSources.local.xml +++ b/.idea/dataSources.local.xml @@ -1,6 +1,6 @@ - + #@ diff --git a/Public/dep/wdd-server-host.txt b/Public/dep/wdd-server-host.txt index 69b45d1..87536fa 100644 --- a/Public/dep/wdd-server-host.txt +++ b/Public/dep/wdd-server-host.txt @@ -22,6 +22,10 @@ 140.238.52.228 tokyo-2 t2 +140.83.84.142 osaka-1 o1 + +140.83.58.96 osaka-2 o2 + 42.192.52.227 tc-sh 43.128.39.232 tc-hk diff --git a/Public/init-script-wdd.sh b/Public/init-script-wdd.sh index ca480de..f2cd1d0 100644 --- a/Public/init-script-wdd.sh +++ b/Public/init-script-wdd.sh @@ -108,13 +108,24 @@ shutdown_firewall() { add_octopus_host() { FunctionStart "添加Octopus自定义Hosts!" - if grep -q "140.238" >/etc/hosts - fi + cat >/etc/hosts<>/etc/hosts + if grep -q "140.238"