Skip to content

Commit

Permalink
install: Update openSUSE information
Browse files Browse the repository at this point in the history
Let's update the openSUSE Installation Guide to reflect the current
information on how to install kata packages provided by the distro
itself.

The official packages are present on Leap 15.2 and Tumbleweed, and can
be just installed. Leap 15.1 is slightly different, as the .repo file
has to be added before the packages can be installed.

Leap 15.0 has been removed as it already reached its EOL.

Fixes: kata-containers#623

Signed-off-by: Fabiano Fidêncio <[email protected]>
  • Loading branch information
fidencio committed Sep 15, 2020
1 parent 691f136 commit 2a0e76a
Show file tree
Hide file tree
Showing 5 changed files with 18 additions and 57 deletions.
11 changes: 5 additions & 6 deletions docs/install/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -42,19 42,18 @@ Kata is packaged by the Kata community for:
|Distribution (link to installation guide) | Versions |
|-----------------------------------------------------------------|-------------------------------------------------------------------------------------------------------------------|
|[Debian](debian-installation-guide.md) | 9, 10 |
|[openSUSE](opensuse-installation-guide.md) | [Leap](opensuse-leap-installation-guide.md) (15, 15.1)<br>[Tumbleweed](opensuse-tumbleweed-installation-guide.md) |
|[SUSE Linux Enterprise Server (SLES)](sles-installation-guide.md)| SLES 12 SP3 |
|[Ubuntu](ubuntu-installation-guide.md) | 16.04, 18.04 |

#### Official packages

Kata packages are provided by official distribution repositories for:

|Distribution (link to packages) | Versions |
|-----------------------------------------------------------------|-------------|
|[CentOS](centos-installation-guide.md) | 8 |
|[Fedora](fedora-installation-guide.md) | 32, Rawhide |
|[openSUSE](https://software.opensuse.org/package/katacontainers) | Tumbleweed |
|Distribution (link to packages) | Versions |
|-------------------------------------------|--------------------------------------------------------------------------------|
|[CentOS](centos-installation-guide.md) | 8 |
|[Fedora](fedora-installation-guide.md) | 32, Rawhide |
|[openSUSE](opensuse-installation-guide.md) | [Leap 15.1](opensuse-leap-15.1-installation-guide.md)<br>Leap 15.2, Tumbleweed |


### Automatic Installation
Expand Down
14 changes: 1 addition & 13 deletions docs/install/opensuse-installation-guide.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,19 3,7 @@
1. Install the Kata Containers components with the following commands:

```bash
$ source /etc/os-release
$ DISTRO_REPO=$(sed "s/ /_/g" <<< "$NAME")
$ [ -n "$VERSION" ] && DISTRO_REPO ="_${VERSION}"
$ DISTRO_REPO=$(echo $DISTRO_REPO | tr -d ' ')
$ ARCH=$(arch)
$ BRANCH="${BRANCH:-master}"
$ REPO_ALIAS="kata-${BRANCH}"
$ PUBKEY="/tmp/rpm-signkey.pub"
$ curl -SsL -o "$PUBKEY" "https://raw.githubusercontent.com/kata-containers/tests/master/data/rpm-signkey.pub"
$ sudo -E rpm --import "$PUBKEY"
$ zypper lr "$REPO_ALIAS" && sudo -E zypper -n removerepo "$REPO_ALIAS"
$ sudo -E zypper addrepo --refresh "http://download.opensuse.org/repositories/home:/katacontainers:/releases:/${ARCH}:/${BRANCH}/${DISTRO_REPO}/" "$REPO_ALIAS"
$ sudo -E zypper -n install kata-runtime
$ sudo -E zypper -n install katacontainers
```

2. Decide which container manager to use and select the corresponding link that follows:
Expand Down
12 changes: 12 additions & 0 deletions docs/install/opensuse-leap-15.1-installation-guide.md
Original file line number Diff line number Diff line change
@@ -0,0 1,12 @@
# Install Kata Containers on openSUSE Leap 15.1

1. Install the Kata Containers components with the following commands:

```bash
$ sudo -E zypper addrepo --refresh "https://download.opensuse.org/repositories/devel:/kubic/openSUSE_Leap_15.1/devel:kubic.repo"
$ sudo -E zypper -n --gpg-auto-import-keys install katacontainers
```

2. Decide which container manager to use and select the corresponding link that follows:
- [Docker](docker/opensuse-docker-install.md)
- [Kubernetes](../Developer-Guide.md#run-kata-containers-with-kubernetes)
19 changes: 0 additions & 19 deletions docs/install/opensuse-leap-installation-guide.md

This file was deleted.

19 changes: 0 additions & 19 deletions docs/install/opensuse-tumbleweed-installation-guide.md

This file was deleted.

0 comments on commit 2a0e76a

Please sign in to comment.