mirror of
https://github.com/oceanprotocol/barge.git
synced 2024-11-26 12:28:59 +01:00
Merge pull request #368 from oceanprotocol/issue-367-remove-sudo
Removing sudo command
This commit is contained in:
commit
5a3a17e753
@ -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" | sudo tee -a /etc/hosts
|
|
||||||
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