mirror of
https://github.com/kasmtech/workspaces-core-images.git
synced 2025-03-14 21:38:18 +01:00
OpenSUSE mirror URL is broken so fallback to original URL - 1.16.1
This commit is contained in:
parent
2a398b8c65
commit
762344f7eb
@ -11,7 +11,7 @@ if [[ "${DISTRO}" == @(centos|oracle7) ]] ; then
|
||||
elif [[ "${DISTRO}" == @(fedora37|fedora38|fedora39|fedora40|oracle8|oracle9|rhel9|rockylinux9|rockylinux8|almalinux8|almalinux9) ]]; then
|
||||
dnf install -y wget net-tools bzip2 tar vim hostname procps-ng bc
|
||||
elif [ "${DISTRO}" == "opensuse" ]; then
|
||||
sed -i 's/download.opensuse.org/mirrorcache-us.opensuse.org/g' /etc/zypp/repos.d/*.repo
|
||||
#sed -i 's/download.opensuse.org/mirrorcache-us.opensuse.org/g' /etc/zypp/repos.d/*.repo
|
||||
zypper install -yn wget net-tools bzip2 tar vim gzip iputils bc
|
||||
elif [ "${DISTRO}" == "alpine" ]; then
|
||||
apk add --no-cache \
|
||||
|
Loading…
Reference in New Issue
Block a user