diff --git a/pkg/cloudinit/scripts/configure-proxy.sh b/pkg/cloudinit/scripts/configure-proxy.sh index 4c2efae5..fed9eb7e 100644 --- a/pkg/cloudinit/scripts/configure-proxy.sh +++ b/pkg/cloudinit/scripts/configure-proxy.sh @@ -25,3 +25,7 @@ if [ -f ${NO_PROXY_FILE} ]; then echo "no_proxy=${NO_PROXY}" >> "${ENVIRONMENT_FILE}" echo "NO_PROXY=${NO_PROXY}" >> "${ENVIRONMENT_FILE}" fi + +# Note(ader1990): snapd services needs to be restarted +# to use the new proxy settings. +systemctl restart snapd