From c29eb81f79a51fcf4a1f64039c63b3607ce73ffc Mon Sep 17 00:00:00 2001 From: Narinder Gupta Date: Tue, 25 Apr 2017 21:28:48 -0500 Subject: adding the snapd install before running snap command Change-Id: Ie29fef16a3552c0f62b446481704ba07ea189aa2 Signed-off-by: Narinder Gupta (cherry picked from commit 58de7a6e82d702ece924a772461a52c789f1e722) --- ci/k8.sh | 1 + 1 file changed, 1 insertion(+) 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 -- cgit 1.2.3-korg