juju will set env vars like JUJU_CHARM_HTTPS_PROXY for the hook to be able to use what the various model https/ftp/no-proxy config has been set to.
Are you saying these are not set? These are intended for use in a hook.
As far as I am aware, ~/.juju-proxy is only set for when juju run is used to run a script manually.
The /etc/juju-proxy.conf is only used for legacy proxy values, not the newer juju ones. ie if you use "juju-https-proxy" etc this file is not used.
juju will set env vars like JUJU_CHARM_ HTTPS_PROXY for the hook to be able to use what the various model https/ftp/no-proxy config has been set to.
Are you saying these are not set? These are intended for use in a hook.
As far as I am aware, ~/.juju-proxy is only set for when juju run is used to run a script manually.
The /etc/juju- proxy.conf is only used for legacy proxy values, not the newer juju ones. ie if you use "juju-https-proxy" etc this file is not used.