From 7f6bc643a8f714c24acea7b63780831049752a57 Mon Sep 17 00:00:00 2001 From: eaudetcobello Date: Thu, 8 Aug 2024 11:15:36 -0400 Subject: [PATCH] restart snapd after configuring snapstore proxy (#112) --- controllers/cloudinit/scripts/00-configure-snapstore-proxy.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/controllers/cloudinit/scripts/00-configure-snapstore-proxy.sh b/controllers/cloudinit/scripts/00-configure-snapstore-proxy.sh index ff6b5eb..34a1514 100644 --- a/controllers/cloudinit/scripts/00-configure-snapstore-proxy.sh +++ b/controllers/cloudinit/scripts/00-configure-snapstore-proxy.sh @@ -32,3 +32,5 @@ while ! snap set core proxy.store="${3}" ; do echo "Failed to configure snapd with store ID, will retry" sleep 5 done + +systemctl restart snapd