mirror of
https://github.com/kata-containers/kata-containers.git
synced 2025-09-14 13:29:31 +00:00
install: better support for all openSUSE distros
Support installing kata packages on all openSUSE distros. Fixes: #483 Signed-off-by: Marco Vedovati <mvedovati@suse.com>
This commit is contained in:
@@ -84,11 +84,11 @@ Manual installation instructions are available for [these distributions](#suppor
|
|||||||
|
|
||||||
#### Supported Distributions
|
#### Supported Distributions
|
||||||
|Distro specific installation instructions | Versions |
|
|Distro specific installation instructions | Versions |
|
||||||
|-------------------------------------------------------------------|-----------------|
|
|-----------------------------------------------------------------|-------------------------------------------------------------------------------------------------------------------|
|
||||||
|[CentOS](centos-installation-guide.md) | 7 |
|
|[CentOS](centos-installation-guide.md) | 7 |
|
||||||
|[Debian](debian-installation-guide.md) | 9 |
|
|[Debian](debian-installation-guide.md) | 9 |
|
||||||
|[Fedora](fedora-installation-guide.md) | 27, 28 |
|
|[Fedora](fedora-installation-guide.md) | 27, 28, 29 |
|
||||||
|[openSUSE](opensuse-installation-guide.md) | Leap (42.3) |
|
|[openSUSE](opensuse-installation-guide.md) | [Leap](opensuse-leap-installation-guide.md) (42.3, 15)<br>[Tumbleweed](opensuse-tumbleweed-installation-guide.md) |
|
||||||
|[Red Hat Enterprise Linux (RHEL)](rhel-installation-guide.md) | 7 |
|
|[Red Hat Enterprise Linux (RHEL)](rhel-installation-guide.md) | 7 |
|
||||||
|[SUSE Linux Enterprise Server (SLES)](sles-installation-guide.md)| SLES 12 SP3 |
|
|[SUSE Linux Enterprise Server (SLES)](sles-installation-guide.md)| SLES 12 SP3 |
|
||||||
|[Ubuntu](ubuntu-installation-guide.md) | 16.04, 18.04 |
|
|[Ubuntu](ubuntu-installation-guide.md) | 16.04, 18.04 |
|
||||||
|
@@ -1,4 +1,4 @@
|
|||||||
# Install Docker for Kata Containers on openSUSE Leap
|
# Install Docker for Kata Containers on openSUSE Leap/Tumbleweed
|
||||||
|
|
||||||
> **Note:**
|
> **Note:**
|
||||||
>
|
>
|
||||||
|
14
install/docker/opensuse-leap-docker-install.md
Normal file
14
install/docker/opensuse-leap-docker-install.md
Normal file
@@ -0,0 +1,14 @@
|
|||||||
|
# Install Docker for Kata Containers on openSUSE Leap
|
||||||
|
|
||||||
|
Follow the instructions in the generic [openSUSE Docker install guide](opensuse-docker-install.md).
|
||||||
|
<!--
|
||||||
|
You can ignore the content of this comment.
|
||||||
|
(test code run by test-install-docs.sh to validate code blocks this document)
|
||||||
|
|
||||||
|
```bash
|
||||||
|
$ echo "NOTE: this document is just a link to the generic openSUSE install guide located at:
|
||||||
|
https://raw.githubusercontent.com/kata-containers/documentation/master/install/docker/opensuse-docker-install.md
|
||||||
|
|
||||||
|
Please download this file and run kata-doc-to-script.sh again."
|
||||||
|
```
|
||||||
|
-->
|
14
install/docker/opensuse-tumbleweed-docker-install.md
Normal file
14
install/docker/opensuse-tumbleweed-docker-install.md
Normal file
@@ -0,0 +1,14 @@
|
|||||||
|
# Install Docker for Kata Containers on openSUSE Tumbleweed
|
||||||
|
|
||||||
|
Follow the instructions in the generic [openSUSE Docker install guide](opensuse-docker-install.md).
|
||||||
|
<!--
|
||||||
|
You can ignore the content of this comment.
|
||||||
|
(test code run by test-install-docs.sh to validate code blocks this document)
|
||||||
|
|
||||||
|
```bash
|
||||||
|
$ echo "NOTE: this document is just a link to the generic openSUSE install guide located at:
|
||||||
|
https://raw.githubusercontent.com/kata-containers/documentation/master/install/docker/opensuse-docker-install.md
|
||||||
|
|
||||||
|
Please download this file and run kata-doc-to-script.sh again."
|
||||||
|
```
|
||||||
|
-->
|
@@ -1,13 +1,20 @@
|
|||||||
# Install Kata Containers on openSUSE Leap
|
# Install Kata Containers on openSUSE Leap/Tumbleweed
|
||||||
|
|
||||||
1. Install the Kata Containers components with the following commands:
|
1. Install the Kata Containers components with the following commands:
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
$ source /etc/os-release
|
$ source /etc/os-release
|
||||||
|
$ DISTRO_REPO=$(sed "s/ /_/g" <<< "$NAME")
|
||||||
|
$ [ -n "$VERSION" ] && DISTRO_REPO+="_${VERSION}"
|
||||||
$ ARCH=$(arch)
|
$ ARCH=$(arch)
|
||||||
$ BRANCH="${BRANCH:-master}"
|
$ BRANCH="${BRANCH:-master}"
|
||||||
$ sudo -E zypper addrepo "http://download.opensuse.org/repositories/home:/katacontainers:/releases:/${ARCH}:/${BRANCH}/openSUSE_Leap_${VERSION_ID}/home:katacontainers:releases:${ARCH}:${BRANCH}.repo"
|
$ REPO_ALIAS="kata-${BRANCH}"
|
||||||
$ sudo -E zypper -n --no-gpg-checks install kata-runtime kata-proxy kata-shim
|
$ 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
|
||||||
```
|
```
|
||||||
|
|
||||||
2. Decide which container manager to use and select the corresponding link that follows:
|
2. Decide which container manager to use and select the corresponding link that follows:
|
||||||
|
14
install/opensuse-leap-installation-guide.md
Normal file
14
install/opensuse-leap-installation-guide.md
Normal file
@@ -0,0 +1,14 @@
|
|||||||
|
# Install Kata Containers on openSUSE Leap
|
||||||
|
|
||||||
|
Follow the instructions in the generic [openSUSE install guide](opensuse-installation-guide.md).
|
||||||
|
<!--
|
||||||
|
You can ignore the content of this comment.
|
||||||
|
(test code run by test-install-docs.sh to validate code blocks this document)
|
||||||
|
|
||||||
|
```bash
|
||||||
|
$ echo "NOTE: this document is just a link to the generic openSUSE install guide located at:
|
||||||
|
https://raw.githubusercontent.com/kata-containers/documentation/master/install/opensuse-installation-guide.md
|
||||||
|
|
||||||
|
Please download this file and run kata-doc-to-script.sh again."
|
||||||
|
```
|
||||||
|
-->
|
14
install/opensuse-tumbleweed-installation-guide.md
Normal file
14
install/opensuse-tumbleweed-installation-guide.md
Normal file
@@ -0,0 +1,14 @@
|
|||||||
|
# Install Kata Containers on openSUSE Tumbleweed
|
||||||
|
|
||||||
|
Follow the instructions in the generic [openSUSE install guide](opensuse-installation-guide.md).
|
||||||
|
<!--
|
||||||
|
You can ignore the content of this comment.
|
||||||
|
(test code run by test-install-docs.sh to validate code blocks this document)
|
||||||
|
|
||||||
|
```bash
|
||||||
|
$ echo "NOTE: this document is just a link to the generic openSUSE install guide located at:
|
||||||
|
https://raw.githubusercontent.com/kata-containers/documentation/master/install/opensuse-installation-guide.md
|
||||||
|
|
||||||
|
Please download this file and run kata-doc-to-script.sh again."
|
||||||
|
```
|
||||||
|
-->
|
Reference in New Issue
Block a user