From: Narinder Gupta Date: Wed, 26 Apr 2017 02:28:48 +0000 (-0500) Subject: adding the snapd install before running snap command X-Git-Tag: opnfv-5.0.RC1~137 X-Git-Url: https://gerrit.opnfv.org/gerrit/gitweb?a=commitdiff_plain;h=refs%2Fchanges%2F07%2F33807%2F1;p=joid.git adding the snapd install before running snap command Change-Id: Ie29fef16a3552c0f62b446481704ba07ea189aa2 Signed-off-by: Narinder Gupta --- 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