From 8482d18a4dd5f6a00705ce8029d33d90c867d975 Mon Sep 17 00:00:00 2001 From: Angelos Kolaitis Date: Fri, 23 Feb 2024 11:29:34 +0200 Subject: [PATCH] check if microk8s is installed --- controllers/cloudinit/scripts/00-install-microk8s.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/controllers/cloudinit/scripts/00-install-microk8s.sh b/controllers/cloudinit/scripts/00-install-microk8s.sh index c10c129..45b9c8e 100644 --- a/controllers/cloudinit/scripts/00-install-microk8s.sh +++ b/controllers/cloudinit/scripts/00-install-microk8s.sh @@ -6,7 +6,7 @@ # Assumptions: # - snapd is installed -if snap list microk8s; do +if snap list microk8s; then echo "MicroK8s is already installed, will not install" exit 0 fi