Commit 408c0fd8 authored by 智勇's avatar 智勇

适配SYSTEM_NAME中有--的情况

parent 9c24f0c9
#!/bin/sh
echo 192.168.4.3 git.q-gp.com >> /etc/hosts
curl -sSL http://git.q-gp.com/QA/qg-docker-entrypoints/raw/master/dev/lua-ui/run.sh -o run.sh
SYSTEM_NAME=`echo $SYSTEM_NAME | awk -F '--' '{print $1}'`
host=`curl -s http://172.30.220.22:3003/proconfig/get_host?system_name=${SYSTEM_NAME}`
sh run.sh $host
\ No newline at end of file
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