adding the snapd install before running snap command 07/33807/1
authorNarinder Gupta <narinder.gupta@canonical.com>
Wed, 26 Apr 2017 02:28:48 +0000 (21:28 -0500)
committerNarinder Gupta <narinder.gupta@canonical.com>
Wed, 26 Apr 2017 02:29:24 +0000 (21:29 -0500)
Change-Id: Ie29fef16a3552c0f62b446481704ba07ea189aa2
Signed-off-by: Narinder Gupta <narinder.gupta@canonical.com>
ci/k8.sh

index a927422..cb7dd49 100755 (executable)
--- a/ci/k8.sh
+++ b/ci/k8.sh
@@ -6,6 +6,7 @@ mkdir -p ~/.kube || true
 juju scp kubernetes-master/0:config ~/.kube/config || true
 
 if [ ! -f /snap/kubectl/current/kubectl ]; then
+  sudo apt-get install snapd
   sudo snap install kubectl --classic
 fi