forked from EvergreenCrypto/docker-finance
client: plugins: tor: disable interactive pseudo-TTY
Not needed, change required for CI.
This commit is contained in:
@@ -90,7 +90,7 @@ function tor::start()
|
||||
# Set docker-finance's proxychains to point to Tor instance
|
||||
local -r _proxychains="/etc/proxychains.conf"
|
||||
lib_utils::print_info "${global_container}: updating $_proxychains"
|
||||
docker exec -it --user root "$global_container" \
|
||||
docker exec --user root "$global_container" \
|
||||
/bin/bash -i -c "
|
||||
sed -i \
|
||||
-e 's:^#quiet_mode:quiet_mode:' \
|
||||
@@ -103,7 +103,7 @@ function tor::start()
|
||||
lib_utils::print_warning "${global_container}: testing connection (bootstrapping ~${_sleep})"
|
||||
sleep "$_sleep" # Give time to bootstrap
|
||||
# TODO: run timer to verify response (and fail if N times if no response)
|
||||
docker exec -it "$global_container" \
|
||||
docker exec "$global_container" \
|
||||
/bin/bash -i -c "
|
||||
proxychains curl -s https://check.torproject.org 2>/dev/null \
|
||||
| grep -B3 'Your IP address appears to be' \
|
||||
|
||||
Reference in New Issue
Block a user