Browse Source

Remove Tor container after generating hashed password (#60)

partition-refactor
Mayank Chhabra 4 years ago
committed by GitHub
parent
commit
a102a530ad
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      configure-box.sh

2
configure-box.sh

@ -91,7 +91,7 @@ echo "Pulling Docker images"
docker-compose pull
echo "Adding tor password"
SAVE_PASSWORD=`docker run getumbrel/tor:v0.4.1.9 --quiet --hash-password "${RPCPASS}"`
SAVE_PASSWORD=$(docker run --rm getumbrel/tor:v0.4.1.9 --quiet --hash-password "${RPCPASS}")
# Add a new line first
echo >> tor/torrc
echo "HashedControlPassword ${SAVE_PASSWORD}" >> tor/torrc

Loading…
Cancel
Save