From ce5c2bbc8c823427d0672719f0aad5777edb9241 Mon Sep 17 00:00:00 2001 From: "James O. D. Hunt" Date: Mon, 21 May 2018 11:41:08 +0100 Subject: [PATCH] docs: Make Ubuntu install idempotent Don't append to Kata-specific apt sources file to avoid apt warnings and make the install idempotent. Fixes #107. Signed-off-by: James O. D. Hunt --- install/ubuntu-installation-guide.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/install/ubuntu-installation-guide.md b/install/ubuntu-installation-guide.md index 71c3f98aaf..979e7bed1f 100644 --- a/install/ubuntu-installation-guide.md +++ b/install/ubuntu-installation-guide.md @@ -24,7 +24,7 @@ For more information on installing Docker please refer to the **Note:** The repository is downloading content using `http`, be aware that this installation channel is not secure. ```bash -$ sudo sh -c "echo 'deb http://download.opensuse.org/repositories/home:/katacontainers:/release/xUbuntu_$(lsb_release -rs)/ /' >> /etc/apt/sources.list.d/kata-containers.list" +$ sudo sh -c "echo 'deb http://download.opensuse.org/repositories/home:/katacontainers:/release/xUbuntu_$(lsb_release -rs)/ /' > /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 - $ sudo -E apt-get update $ sudo -E apt-get -y install kata-runtime kata-proxy kata-shim