summaryrefslogtreecommitdiffstats
path: root/src/vagrant/kubeadm
diff options
context:
space:
mode:
Diffstat (limited to 'src/vagrant/kubeadm')
-rw-r--r--src/vagrant/kubeadm/kata/kata_setup.sh6
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