From ce74f14de5042774b8386b0eff04497b517eaacc Mon Sep 17 00:00:00 2001 From: Dan Mick Date: Tue, 19 Nov 2024 16:44:17 -0800 Subject: container/Containerfile fix boolean IS_RELEASE usage Existing syntax was just wrong. Signed-off-by: Dan Mick --- container/Containerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'container') diff --git a/container/Containerfile b/container/Containerfile index 7224028723d..af843052e60 100644 --- a/container/Containerfile +++ b/container/Containerfile @@ -89,7 +89,7 @@ RUN set -x && \ REPO_URL="https://${PRERELEASE_USERNAME}:${PRERELEASE_PASSWORD}@download.ceph.com/prerelease/ceph/rpm-${CEPH_REF}/el9/" ;\ fi && \ rpm -Uvh "$REPO_URL/noarch/ceph-release-1-${IS_RELEASE}.el9.noarch.rpm" ; \ - if [[ IS_RELEASE ]] ; then \ + if [[ "$IS_RELEASE" == 1 ]] ; then \ sed -i "s;http://download.ceph.com/;https://${PRERELEASE_USERNAME}:${PRERELEASE_PASSWORD}@download.ceph.com/prerelease/ceph/;" /etc/yum.repos.d/ceph.repo ; \ dnf clean expire-cache ; \ fi -- cgit v1.2.3