summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNarinder Gupta <narinder.gupta@canonical.com>2017-04-25 21:28:48 -0500
committerNarinder Gupta <narinder.gupta@canonical.com>2017-04-25 21:29:24 -0500
commit58de7a6e82d702ece924a772461a52c789f1e722 (patch)
treeea847a77bf704397e0a0a8dde9ec1bbfa1c7d1f5
parentf279ae4f3a71aa9319f0cba90cd9e437a35c1d5d (diff)
adding the snapd install before running snap command
Change-Id: Ie29fef16a3552c0f62b446481704ba07ea189aa2 Signed-off-by: Narinder Gupta <narinder.gupta@canonical.com>
-rwxr-xr-xci/k8.sh1
1 files changed, 1 insertions, 0 deletions
diff --git a/ci/k8.sh b/ci/k8.sh
index a9274227..cb7dd497 100755
--- 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