Skip to content
This repository has been archived by the owner on Oct 11, 2023. It is now read-only.

Refactor a little so 'ros os list' also uses the configured proxy info #2104

Merged
merged 2 commits into from
Sep 18, 2017

Conversation

SvenDowideit
Copy link
Contributor

@SvenDowideit SvenDowideit commented Sep 15, 2017

for #1914

also set http_proxy env vars for consoles.

I'm having issues with wget in the default console still, but it works with the proxy in the debian console - I might leave that for the future tho.

Important note if you need to sudo, use sudo -i so you get the /etc/profile.d/* env, in which the proxy env is set.

Signed-off-by: Sven Dowideit <SvenDowideit@home.org.au>
@SvenDowideit SvenDowideit added this to the v1.1.1 milestone Sep 15, 2017
@SvenDowideit
Copy link
Contributor Author

SvenDowideit commented Sep 15, 2017

mmm, looks to me like we're not passing the proxy env to the consoles

and not setting the global env vars based on the rancher.network.http_proxy cfg?

Signed-off-by: Sven Dowideit <SvenDowideit@home.org.au>
@SvenDowideit SvenDowideit merged commit f7327d7 into rancher:master Sep 18, 2017
@SvenDowideit SvenDowideit deleted the http-proxy-fix branch September 18, 2017 05:43
SvenDowideit added a commit to SvenDowideit/os that referenced this pull request Sep 18, 2017
Refactor a little so 'ros os list' also uses the configured proxy info
(cherry picked from commit f7327d7)
@SvenDowideit
Copy link
Contributor Author

backported to 1.0.5_ #2110

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant