Update location of cephadm script
We don't need to get cephadm from the source tree. The ceph community publishes this binary on download.ceph.com [1] [1] https://docs.ceph.com/en/latest/cephadm/install/#curl-based-installation Change-Id: I9c1f46b15a03768aa92803e7c51522c3553b1595 Signed-off-by: Goutham Pacha Ravi <gouthampravi@gmail.com>
This commit is contained in:
@@ -143,7 +143,10 @@ function install_deps {
|
||||
|
||||
# Pre-install ceph: get cephadm binary
|
||||
function get_cephadm {
|
||||
curl -O https://raw.githubusercontent.com/ceph/ceph/"$CEPH_RELEASE"/src/cephadm/cephadm
|
||||
# NOTE(gouthamr): cephadm binary here is a python executable, and the
|
||||
# $os_PACKAGE ("rpm") or $os_release (el9) doesn't really matter. There is
|
||||
# no ubuntu/debian equivalent being published by the ceph community.
|
||||
curl -O https://download.ceph.com/rpm-${CEPH_RELEASE}/el9/noarch/cephadm
|
||||
$SUDO mv cephadm $TARGET_BIN
|
||||
$SUDO chmod +x $TARGET_BIN/cephadm
|
||||
echo "[GET CEPHADM] cephadm is now available"
|
||||
|
||||
Reference in New Issue
Block a user