From 212c32268f2e105662de93a257efaed468778735 Mon Sep 17 00:00:00 2001 From: Prabhav Thali Date: Thu, 18 Aug 2022 13:08:21 +0530 Subject: [PATCH] Adds SLES 15-SP4 Signed-off-by: Prabhav Thali --- engine/install/sles.md | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/engine/install/sles.md b/engine/install/sles.md index 2ae4489d79..e846fff7ff 100644 --- a/engine/install/sles.md +++ b/engine/install/sles.md @@ -34,7 +34,7 @@ To get started with Docker Engine on SLES, make sure you ### OS requirements -To install Docker Engine, you need a maintained version of SLES 15-SP3 on s390x (IBM Z). +To install Docker Engine, you need a maintained version of SLES 15-SP3 or SLES 15-SP4 on s390x (IBM Z). Archived versions aren't supported or tested. The [`SCC SUSE`](https://scc.suse.com/packages?name=SUSE%20Linux%20Enterprise%20Server&version=15.3&arch=s390x) @@ -44,9 +44,15 @@ The [OpenSUSE `SELinux` repository](https://download.opensuse.org/repositories/s must be enabled. This repository is not added by default, and you need to enable it for the version of SLES you are running. Run the following commands to add it: +For SLES 15-SP3, ```console -$ sles_version="$(. /etc/os-release && echo "${VERSION_ID##*.}")" -$ opensuse_repo="https://download.opensuse.org/repositories/security:SELinux/SLE_15_SP$sles_version/security:SELinux.repo" +$ opensuse_repo="https://download.opensuse.org/repositories/security:SELinux/SLE_15_SP3/security:SELinux.repo" +$ sudo zypper addrepo $opensuse_repo +``` + +For SLES 15-SP4, +```console +$ opensuse_repo="https://download.opensuse.org/repositories/security:SELinux/15.4/security:SELinux.repo" $ sudo zypper addrepo $opensuse_repo ```