environment: also configure http(s) proxy and enter python venv

replace_gw-core01
Gregor Michels 2022-07-03 01:57:37 +02:00
parent 2c9c07c28f
commit b078c45ebc
1 changed files with 13 additions and 0 deletions

View File

@ -1 +1,14 @@
# configure directory for pass
PASSWORD_STORE_DIR=`pwd`/password-store; export PASSWORD_STORE_DIR
# configure http(s) proxy (create a dynamic socks proxy via ssh on port 8888)
http_proxy=socks5://127.0.0.1:8888
export HTTP_PROXY=$http_proxy
export HTTPS_PROXY=$http_proxy
cat << EOF
configured HTTP_PROXY and HTTPS_PROXY to use a local socks proxy on port 8888
start with: ssh -D 8888 gw-core01
EOF
# enter python virtualenv
. ansible-environment/bin/activate