On 12 January 2017 at 01:44, Max Brustkern <max.brustk...@canonical.com> wrote:
> I'm trying to run ubuntu core 16 in a kvm instance in an internal lab that > requires a web proxy. This bug: > https://bugs.launchpad.net/ubuntu/+source/snapd/+bug/1579652 > seems to cover how to do this on classic ubuntu, but the files that hold > the environment variables used by snapd on an ubuntu core system are all on > read-only filesystems. How do I set HTTPS_PROXY in a persistent way for > snapd on that system? > https://bugs.launchpad.net/snappy/+bug/1533899 is similar, but about adding support for proxies to snapd (rather than have it use the system environment variables, which is one implementation option but not always what you want since that affects everything on the system). But that doesn't help with your read-only filesystem sorry :-( (Hmm... disgusting hack idea.... since you can't create /etc/systemd/system/ snapd.service.d/ on your read-only filesystem, try mounting that directory from somewhere. Extra points for using systemd to mount the systemd service file overrides and setting up dependencies so it does everything in the right order :-) ) -- Stuart Bishop <stuart.bis...@canonical.com>
-- Snapcraft mailing list Snapcraft@lists.snapcraft.io Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/snapcraft