We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d7ea7a9 commit 6bae989Copy full SHA for 6bae989
images/server/install-packages.sh
@@ -60,7 +60,8 @@ get_epel_repo_if_needed() {
60
get_ceph_shaman_repo() {
61
ceph_ref="${CEPH_REPO_REF:-main}"
62
ceph_sha="${CEPH_REPO_SHA:-latest}"
63
- url="https://shaman.ceph.com/api/search/?project=ceph&distros=${OS_BASE}/9/x86_64&flavor=default&ref=${ceph_ref}&sha1=${ceph_sha}"
+ ceph_arch=$( ([[ "$(arch)" = "aarch64" ]] && echo "arm64") || arch )
64
+ url="https://shaman.ceph.com/api/search/?project=ceph&distros=${OS_BASE}/9/${ceph_arch}&flavor=default&ref=${ceph_ref}&sha1=${ceph_sha}"
65
generate_repo_from_shaman "${url}" "ceph-${ceph_ref}.repo"
66
cat "/etc/yum.repos.d/ceph-${ceph_ref}.repo"
67
}
0 commit comments