Commit 047fcb3c authored by kalvin's avatar kalvin

添加hosts文件

parent 5cc1937c
......@@ -6,6 +6,10 @@ config_path="`pwd`/${module_name}/application.properties"
export NAMESPACE=`cat /var/run/secrets/kubernetes.io/serviceaccount/namespace`
echo "NAMESPACE is $NAMESPACE"
echo 172.30.3.208 apollo-dev.quantgroups.com > /etc/hosts
echo 192.168.6.13 eos.quantgroups.com > /etc/hosts
sed -i "s#.xyqb.com#-$NAMESPACE.q-gp.com#g" ${config_path}
sed -i "s#.domain.com#-$NAMESPACE.q-gp.com#g" ${config_path}
sed -i "s#.quantgroup.cn#-$NAMESPACE.q-gp.com#g" ${config_path}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment