From: Shweta Bhosale Date: Thu, 14 May 2026 13:49:56 +0000 (+0530) Subject: Use GANESHA_REPO_BASEURL for NFS-Ganesha on all distros X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=refs%2Fpull%2F68909%2Fhead;p=ceph.git Use GANESHA_REPO_BASEURL for NFS-Ganesha on all distros Fixes: https://tracker.ceph.com/issues/76603 Signed-off-by: Shweta Bhosale --- 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 && \