From 1163bd6b01560bb435821d1ec14b69a5a4f3b0cc Mon Sep 17 00:00:00 2001 From: Shweta Bhosale Date: Thu, 14 May 2026 19:19:56 +0530 Subject: [PATCH] Use GANESHA_REPO_BASEURL for NFS-Ganesha on all distros Fixes: https://tracker.ceph.com/issues/76603 Signed-off-by: Shweta Bhosale --- container/Containerfile | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/container/Containerfile b/container/Containerfile index 3f9cac33e99e..07d68e6b5dfb 100644 --- a/container/Containerfile +++ b/container/Containerfile @@ -84,18 +84,13 @@ RUN dnf install -y --setopt=install_weak_deps=False epel-release jq # NFS-Ganesha repo RUN set -eux; \ - source /etc/ceph-distro.env; \ - if [[ "${DIST_PATH}" == rocky/* ]]; then \ - curl -fs -L "https://shaman.ceph.com/api/repos/nfs-ganesha/main/latest/${DIST_PATH}/repo?arch=$(arch)" -o /etc/yum.repos.d/ganesha.repo; \ - else \ - { \ + { \ printf '%s\n' '[ganesha]'; \ printf '%s\n' 'name=ganesha'; \ printf '%s\n' "baseurl=${GANESHA_REPO_BASEURL}"; \ printf '%s\n' 'gpgcheck=0'; \ printf '%s\n' 'enabled=1'; \ - } > /etc/yum.repos.d/ganesha.repo; \ - fi + } > /etc/yum.repos.d/ganesha.repo # ISCSI repo RUN set -eux && \ -- 2.47.3