1
0
mirror of https://github.com/oceanprotocol/barge.git synced 2024-11-22 17:50:13 +01:00

Merge pull request #192 from oceanprotocol/fix/hosts

fix /etc/hosts editing
This commit is contained in:
Matthias Kretschmann 2019-10-09 13:15:47 +02:00 committed by GitHub
commit 885a3d18bb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -104,7 +104,7 @@ export LOCAL_GROUP_ID=$(id -g)
if grep -q "aquarius" /etc/hosts; then
echo "aquarius exists"
else
sudo echo "127.0.0.1 aquarius" >> /etc/hosts;
echo "127.0.0.1 aquarius" | sudo tee -a /etc/hosts
fi