Commit c3cbb11d authored by kalvin's avatar kalvin

fixbugs

parent 8a0fdf93
......@@ -7,8 +7,8 @@ config_path="`pwd`/${module_name}/application.properties"
export NAMESPACE=`cat /var/run/secrets/kubernetes.io/serviceaccount/namespace`
echo "NAMESPACE is $NAMESPACE"
echo 192.168.4.117 apollo-dev.quantgroups.com > /etc/hosts
echo 192.168.6.13 eos.quantgroups.com > /etc/hosts
echo 192.168.6.13 eos.quantgroups.com >> /etc/hosts
echo 192.168.4.117 apollo-dev.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}
......
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