southalc / podman

Puppet module for podman
Apache License 2.0
13 stars 30 forks source link

Proxy support #59

Open tuxmaster5000 opened 1 year ago

tuxmaster5000 commented 1 year ago

To use an proxy server for downloading images the environment variable http_proxy must be set. But I can't see any option for it.

tuxmaster5000 commented 1 year ago

I think, in the environment settings of the exec_defaults variable, an "+ $proxy" can fix it. This hash array will then contains the needed proxy settings.

southalc commented 1 year ago

This is something I'm keeping in mind with the rewrite that's in progress. I plan to post a new branch with this and some other significant changes in the near future.

tuxmaster5000 commented 1 year ago

@southalc Thanks

rb83 commented 1 year ago

Is there perhaps a workaround for this in the meantime?

tuxmaster5000 commented 1 year ago

@rb83 I don't have find one, only patching the code. Because you need to change the environment variables.

rb83 commented 1 year ago

@southalc would you be interested in a PR, or does that conflict with your big rewrite?