John has a more elegant response to this same question here:

http://askubuntu.com/questions/764610/how-to-install-snap-packages-behind-web-proxy-on-ubuntu-16-04/773230#773230

On Fri, May 20, 2016 at 3:59 PM, Gustavo Niemeyer <
[email protected]> wrote:

> Hi Jian,
>
> The snap tool is just a client to the snapd daemon. Changing its
> environment will not affect the running server.
>
> We need to find a good way to update it easily. Meanwhile, you can find
> tune the snapd.service configuration via a systemd configuration file.
>
> Please have a look here for a hint:
>
>
> http://serverfault.com/questions/413397/how-to-set-environment-variable-in-systemd-service
>
>
>
> On Fri, May 20, 2016 at 3:33 PM, Jian LUO <[email protected]> wrote:
>
>> Hi list,
>>
>> can someone confirm this bug about snap ignoring the proxy environment
>> variables?
>>
>> https://bugs.launchpad.net/snappy/+bug/1579652
>>
>> Cheers,
>>
>> Jian
>>
>> --
>> Snapcraft mailing list
>> [email protected]
>> Modify settings or unsubscribe at:
>> https://lists.ubuntu.com/mailman/listinfo/snapcraft
>>
>>
>
>
> --
> gustavo @ http://niemeyer.net
>



-- 
gustavo @ http://niemeyer.net
-- 
Snapcraft mailing list
[email protected]
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/snapcraft

Reply via email to