summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKonstantinos Kostarellis <Konstantinos.Kostarellis@gmail.com>2020-01-30 13:04:47 +0100
committerKonstantinos Kostarellis <Konstantinos.Kostarellis@gmail.com>2020-01-30 13:33:05 +0100
commit8d765ac01810daa0dbf9644b6c30074cb9aa3190 (patch)
treeefa535bb41cf8a2b7a61cb878d8d55c984853256
parent9066051d1313f072fa70ceb8c7e78313b5f74ab5 (diff)
downloadpodman-8d765ac01810daa0dbf9644b6c30074cb9aa3190.tar.gz
podman-8d765ac01810daa0dbf9644b6c30074cb9aa3190.tar.bz2
podman-8d765ac01810daa0dbf9644b6c30074cb9aa3190.zip
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
-rw-r--r--install.md5
1 files 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
```