From 832aaea1adb606e68ed754167555eb6179576733 Mon Sep 17 00:00:00 2001 From: Gabriela Cervantes Date: Tue, 7 Apr 2020 14:56:38 -0500 Subject: [PATCH] docs: Fix opensuse installation guide This PR fixes the opensuse installation guide, it solves the issue of having an extra empty space at the end of the distro name which is causing a failure when we want to add the kata containers obs repository as we are looking for http://download.opensuse.org/repositories/home:/katacontainers:/releases:/x86_64:/master/openSUSE_Leap_15.1%20/ which is non existing and it is giving us an error of Valid metadata not found at specified URL. This PR replaces the URL for a correct one. Fixes #635 Signed-off-by: Gabriela Cervantes --- install/opensuse-installation-guide.md | 1 + 1 file changed, 1 insertion(+) diff --git a/install/opensuse-installation-guide.md b/install/opensuse-installation-guide.md index 23b19aadec..2073b034fd 100644 --- a/install/opensuse-installation-guide.md +++ b/install/opensuse-installation-guide.md @@ -6,6 +6,7 @@ $ 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}"