diff options
author | Guo Ruijing <ruijing.guo@intel.com> | 2019-05-22 19:52:43 +0800 |
---|---|---|
committer | Guo Ruijing <ruijing.guo@intel.com> | 2019-05-22 19:52:43 +0800 |
commit | 813295bb4084073373fa51228aa134aba8345d24 (patch) | |
tree | 5e804a75fb83c82672ef15c96b0629c574bbbe3b /src/vagrant/kubeadm | |
parent | 5b7b8cb4b0dbe698c86ccd5e7dff8756f64c3af0 (diff) |
fix kata installation
Change-Id: Ic309e4bae5285309a3fe16a5338eb72c6a881926
Signed-off-by: Guo Ruijing <ruijing.guo@intel.com>
Diffstat (limited to 'src/vagrant/kubeadm')
-rw-r--r-- | src/vagrant/kubeadm/kata/kata_setup.sh | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/vagrant/kubeadm/kata/kata_setup.sh b/src/vagrant/kubeadm/kata/kata_setup.sh index 0264c7f..1fd77b5 100644 --- a/src/vagrant/kubeadm/kata/kata_setup.sh +++ b/src/vagrant/kubeadm/kata/kata_setup.sh @@ -18,11 +18,11 @@ set -ex ARCH=$(arch) -sudo sh -c "echo 'deb http://download.opensuse.org/repositories/home:/katacontainers:/releases:/${ARCH}:/master/xUbuntu_$(lsb_release -rs)/ /' > /etc/apt/sources.list.d/kata-containers.list" -curl -sL http://download.opensuse.org/repositories/home:/katacontainers:/releases:/${ARCH}:/master/xUbuntu_$(lsb_release -rs)/Release.key | sudo apt-key add - +BRANCH="${BRANCH:-stable-1.7}" +sudo sh -c "echo 'deb http://download.opensuse.org/repositories/home:/katacontainers:/releases:/${ARCH}:/${BRANCH}/xUbuntu_$(lsb_release -rs)/ /' > /etc/apt/sources.list.d/kata-containers.list" +curl -sL http://download.opensuse.org/repositories/home:/katacontainers:/releases:/${ARCH}:/${BRANCH}/xUbuntu_$(lsb_release -rs)/Release.key | sudo apt-key add - sudo -E apt-get update sudo -E apt-get -y install kata-runtime kata-proxy kata-shim -sudo -E apt-get -y install libseccomp2 wget https://github.com/opencontainers/runc/releases/download/v1.0.0-rc6/runc.amd64 sudo cp runc.amd64 /usr/sbin/runc |