rwxrob / dot

Migrating to z Bonzai stateful command tree monolith
https://github.com/rwxrob/z
Apache License 2.0
242 stars 38 forks source link

Add Prompt for /etc/apt/apt.conf.d/11proxy Config to ws #46

Open rwxrob opened 3 years ago

rwxrob commented 3 years ago

Often using a workspace needs a specific SOCKS proxy set when using it on contracts that require a VPN or other "walled garden" network situation. Adding something similar to the following to the /etc/apt/apt.conf.d/11proxy file addresses this:

Acquire::http::Proxy "http://internet.company.com:83";
Acquire::https::Proxy "http://internet.company.com:83";

These values should also be added to the regular proxy environment variables and integrated into some sort of inside and outside script toggle so that they can be disabled with the workspace is used outside of the closed network.