mirror of
https://github.com/oceanprotocol/barge.git
synced 2024-12-02 05:57:21 +01:00
Removing code where aquarius is added to /etc/hosts
This commit is contained in:
parent
4d52240cdb
commit
395390a233
@ -118,17 +118,6 @@ fi
|
|||||||
#export OPERATOR_SERVICE_URL=http://127.0.0.1:8050
|
#export OPERATOR_SERVICE_URL=http://127.0.0.1:8050
|
||||||
export OPERATOR_SERVICE_URL=${OPERATOR_SERVICE_URL:-"http://172.15.0.13:31000/"}
|
export OPERATOR_SERVICE_URL=${OPERATOR_SERVICE_URL:-"http://172.15.0.13:31000/"}
|
||||||
|
|
||||||
# Add aquarius to /etc/hosts
|
|
||||||
# Workaround mainly for macOS
|
|
||||||
|
|
||||||
if [ ${IP} = "localhost" ]; then
|
|
||||||
if grep -q "aquarius" /etc/hosts; then
|
|
||||||
echo "aquarius exists"
|
|
||||||
else
|
|
||||||
echo "127.0.0.1 aquarius"
|
|
||||||
fi
|
|
||||||
fi
|
|
||||||
|
|
||||||
# colors
|
# colors
|
||||||
COLOR_R="\033[0;31m" # red
|
COLOR_R="\033[0;31m" # red
|
||||||
COLOR_G="\033[0;32m" # green
|
COLOR_G="\033[0;32m" # green
|
||||||
|
Loading…
Reference in New Issue
Block a user