Skip to content

Commit

Permalink
Update config.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
5herhom authored Feb 18, 2020
1 parent 8c571cf commit 2733feb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion web/config.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,4 @@ dss_web_port="8088"
linkis_gateway_url="http://localhost:9001"

#dss nginx ip
dss_nginx_ip=$(ip addr | awk '/^[0-9]+: / {}; /inet.*global/ {print gensub(/(.*)\/(.*)/, "\\1", "g", $2)}')
dss_nginx_ip=$(ip addr | awk '/^[0-9]+: / {}; /inet.*global/ {print gensub(/(.*)\/(.*)/, "\\1", "g", $2)}'|awk 'NR==1')

0 comments on commit 2733feb

Please sign in to comment.