install: fix ubuntu docs.

obs provides ubuntu packages by http not https.

Fixes: #81

Signed-off-by: Jose Carlos Venegas Munoz <jose.carlos.venegas.munoz@intel.com>
This commit is contained in:
Jose Carlos Venegas Munoz 2018-05-15 09:30:26 -05:00
parent 1ca427d2ea
commit f39dc40b5d
2 changed files with 5 additions and 3 deletions

View File

@ -18,10 +18,11 @@ For more information on installing Docker please refer to the
2. Install the Kata Containers components with the following commands:
**Note:** The repository redirects the download content to use `http`, be aware that this installation channel is not secure.
```bash
$ source /etc/os-release
$ sudo -E VERSION_ID=$VERSION_ID dnf config-manager --add-repo \
https://download.opensuse.org/repositories/home:/katacontainers:/release/Fedora\_$VERSION_ID/home:katacontainers:release.repo
http://download.opensuse.org/repositories/home:/katacontainers:/release/Fedora\_$VERSION_ID/home:katacontainers:release.repo
$ sudo -E dnf -y install kata-runtime kata-proxy kata-shim
```

View File

@ -22,9 +22,10 @@ For more information on installing Docker please refer to the
2. Install the Kata Containers components with the following commands:
**Note:** The repository is downloading content using `http`, be aware that this installation channel is not secure.
```bash
$ sudo sh -c "echo 'deb https://download.opensuse.org/repositories/home:/katacontainers:/release/xUbuntu_$(lsb_release -rs)/ /' >> /etc/apt/sources.list.d/kata-containers.list"
$ curl -sL https://download.opensuse.org/repositories/home:/katacontainers:/release/xUbuntu_$(lsb_release -rs)/Release.key | sudo apt-key add -
$ 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
```