diff options
Diffstat (limited to 'src/vagrant/kubeadm/kata')
-rw-r--r-- | src/vagrant/kubeadm/kata/kata_setup.sh | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/vagrant/kubeadm/kata/kata_setup.sh b/src/vagrant/kubeadm/kata/kata_setup.sh index c8ab5f8..0264c7f 100644 --- a/src/vagrant/kubeadm/kata/kata_setup.sh +++ b/src/vagrant/kubeadm/kata/kata_setup.sh @@ -17,8 +17,9 @@ set -ex -sudo sh -c "echo 'deb http://download.opensuse.org/repositories/home:/katacontainers:/releases:/x86_64:/master/xUbuntu_16.04/ /' > /etc/apt/sources.list.d/kata-containers.list" -curl -sL http://download.opensuse.org/repositories/home:/katacontainers:/release/xUbuntu_$(lsb_release -rs)/Release.key | sudo apt-key add - +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 - sudo -E apt-get update sudo -E apt-get -y install kata-runtime kata-proxy kata-shim sudo -E apt-get -y install libseccomp2 |