From 8d765ac01810daa0dbf9644b6c30074cb9aa3190 Mon Sep 17 00:00:00 2001 From: Konstantinos Kostarellis Date: Thu, 30 Jan 2020 13:04:47 +0100 Subject: adjusts install.md (Ubuntu): replaces ${NAME} with hard-encoded Ubuntu to support all *buntu flavors - combines downloading and registering of the apt-secure key into a piped oneliner --- install.md | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/install.md b/install.md index b674def82..cd77ad139 100644 --- a/install.md +++ b/install.md @@ -124,9 +124,8 @@ The Kubic project provides packages for Ubuntu 18.04, 19.04 and 19.10. ```bash . /etc/os-release -sudo sh -c "echo 'deb http://download.opensuse.org/repositories/devel:/kubic:/libcontainers:/stable/x${NAME}_${VERSION_ID}/ /' > /etc/apt/sources.list.d/devel:kubic:libcontainers:stable.list" -wget -nv https://download.opensuse.org/repositories/devel:kubic:libcontainers:stable/x${NAME}_${VERSION_ID}/Release.key -O Release.key -sudo apt-key add - < Release.key +sudo sh -c "echo 'deb http://download.opensuse.org/repositories/devel:/kubic:/libcontainers:/stable/xUbuntu_${VERSION_ID}/ /' > /etc/apt/sources.list.d/devel:kubic:libcontainers:stable.list" +wget -q https://download.opensuse.org/repositories/devel:kubic:libcontainers:stable/xUbuntu_${VERSION_ID}/Release.key -O- | sudo apt-key add - sudo apt-get update -qq sudo apt-get -qq -y install podman ``` -- cgit v1.2.3-54-g00ecf