Commit 2943e11f by tingweiwang

Update 2-replace-file.sh

1 parent 5b35fb11
Showing with 1 additions and 1 deletions
...@@ -29,7 +29,7 @@ redis_host=INTRANET_IP:6379 ...@@ -29,7 +29,7 @@ redis_host=INTRANET_IP:6379
redis_password=seetatech redis_password=seetatech
mongo_host='mongodb://admin:admin@INTRANET_IP:27017/seetaas?authSource=admin' #&号前记得加转义 mongo_host='mongodb://admin:admin@INTRANET_IP:27017/seetaas?authSource=admin' #&号前记得加转义
harbor_host=INTRANET_IP:5000 harbor_host=INTRANET_IP:5000
hb_host=INTRANET_IP:5000 #如果是私有部署则共用一个私有harbor,如果是 公用部署则改成hb.seetatech.com hb_host=INTRANET_IP:5000 #如果是私有部署则共用一个私有harbor,如果是 公用部署则改成hub.kce.ksyun.com
####################################公共################################################## ####################################公共##################################################
sudo sed -i s/redis_host/$redis_host/g `find $config_workspace -type f -name "*.yaml"` sudo sed -i s/redis_host/$redis_host/g `find $config_workspace -type f -name "*.yaml"`
sudo sed -i s/mysql_host/$mysql_host/g `find $config_workspace -type f -name "*.yaml"` sudo sed -i s/mysql_host/$mysql_host/g `find $config_workspace -type f -name "*.yaml"`
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!