Skip to content

Commit d1426fd

Browse files
Merge pull request #1003 from fmount/cephadm
Fix cephadm install when deploying an external ceph cluster
2 parents 01527fc + e054a38 commit d1426fd

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

devsetup/ceph/deploy.sh

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,10 @@ REQUIREMENTS=("jq" "lvm" "python3")
1010

1111
# DEFAULT OPTIONS
1212
FSID="4b5c8c0a-ff60-454b-a1b4-9747aa737d19"
13-
CONTAINER_IMAGE=${CONTAINER_IMAGE:-'quay.io/ceph/ceph:v19'}
13+
CONTAINER_IMAGE=${CONTAINER_IMAGE:-'quay.io/ceph/ceph:v18'}
14+
CEPH_VERSION="reef"
15+
OS_RELEASE="el9"
16+
1417
IP=${IP:-'127.0.0.1'}
1518
DEVICES=()
1619
SERVICES=()
@@ -108,7 +111,7 @@ function enroll_hosts {
108111
}
109112

110113
function install_cephadm {
111-
curl -o cephadm https://raw.githubusercontent.com/ceph/ceph/squid/src/cephadm/cephadm.py
114+
curl -f -O https://download.ceph.com/rpm-${CEPH_VERSION}/${OS_RELEASE}/noarch/cephadm
112115
$SUDO mv cephadm $TARGET_BIN
113116
$SUDO chmod +x $TARGET_BIN/cephadm
114117
echo "[INSTALL CEPHADM] cephadm is ready"

0 commit comments

Comments
 (0)