Skip to content

Conversation

@ader1990
Copy link
Contributor

@ader1990 ader1990 commented Nov 5, 2025

When http proxies are configured by the cloud-init runcmd configure-proxy.sh, the snapd systemd unit is already running and not inheriting the new contents of /etc/environment.

A restart of the snapd systemd unit make sure that the snapd uses those proxies. Otherwise, any snap install or other snap <cmd> fail, as all those sub-commands try to reach "http://api.snapcraft.io".

@ader1990 ader1990 requested a review from a team as a code owner November 5, 2025 17:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant