@@ -6,4 +6,4 @@
- synchosts.sh
## 生产环境使用方法,在阿里云控制台批量执行,每次会自动生成备份文件
-mkdir -p /opt/host && cd /opt/host && wget http://172.17.32.18:11082/BaseService/jyhosts/raw/master/synchosts.sh -O synchosts.sh && chmod +x synchosts.sh && ./synchosts.sh
+mkdir -p /opt/host && cd /opt/host && wget http://172.20.45.131:11082/BaseService/jyhosts/raw/master/synchosts.sh -O synchosts.sh && chmod +x synchosts.sh && ./synchosts.sh
@@ -8,3 +8,4 @@
172.17.162.33 jyredis_sess.jy360.cn
172.17.162.31 jyredis_newother.jy360.cn
172.17.162.27 web95.jy360.cn
+172.17.162.31 jyredis_sso.jy360.cn
@@ -9,7 +9,7 @@ cp /etc/hosts "$backup_file"
# 下载远程文件
-curl -s -o hosts_product.txt http://172.17.32.18:11082/BaseService/jyhosts/raw/master/hosts_product.txt
+curl -s -o hosts_product.txt http://172.20.45.131:11082/BaseService/jyhosts/raw/master/hosts_product.txt
# 检查文件是否成功下载
if [ $? -ne 0 ]; then