1
0
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:
Jamie Hewitt 2023-05-12 14:43:33 +03:00
parent 4d52240cdb
commit 395390a233

View File

@ -118,17 +118,6 @@ fi
#export OPERATOR_SERVICE_URL=http://127.0.0.1:8050
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
COLOR_R="\033[0;31m" # red
COLOR_G="\033[0;32m" # green