environment: also configure http(s) proxy and enter python venv
This commit is contained in:
parent
2c9c07c28f
commit
b078c45ebc
13
environment
13
environment
|
@ -1 +1,14 @@
|
||||||
|
# configure directory for pass
|
||||||
PASSWORD_STORE_DIR=`pwd`/password-store; export PASSWORD_STORE_DIR
|
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
|
||||||
|
|
Loading…
Reference in New Issue