Skip to content

Commit 349e0fd

Browse files
phlogistonjohnmergify[bot]
authored andcommitted
images/server: enable ceph on centos9 nightly (stable build)
Enable the centos storage sig repo to get ceph dependencies on centos 9. Currently the ceph module doesn't function correctly but once a fixed version of ceph reef is available the 'nightly' centos images should be able to use the vfs ceph module too. Signed-off-by: John Mulligan <[email protected]>
1 parent b6107f7 commit 349e0fd

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

images/server/install-packages.sh

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,10 @@ OS_BASE="$(. /etc/os-release && echo "${ID}")"
5151
case "${install_packages_from}" in
5252
samba-nightly)
5353
get_custom_repo "https://artifacts.ci.centos.org/samba/pkgs/master/${OS_BASE}/samba-nightly-master.repo"
54+
if [[ "${OS_BASE}" = centos ]]; then
55+
dnf install --setopt=install_weak_deps=False -y \
56+
epel-release centos-release-ceph-reef
57+
fi
5458
package_selection=${package_selection:-nightly}
5559
;;
5660
devbuilds)
@@ -93,7 +97,7 @@ case "${package_selection}-${OS_BASE}" in
9397
*-fedora|allvfs-*)
9498
samba_packages+=(samba-vfs-cephfs samba-vfs-glusterfs)
9599
;;
96-
devbuilds-centos|forcedevbuilds-*)
100+
nightly-centos|devbuilds-centos|forcedevbuilds-*)
97101
dnf_cmd+=(--enablerepo=epel)
98102
samba_packages+=(samba-vfs-cephfs)
99103
# these packages should be installed as deps. of sambacc extras

0 commit comments

Comments
 (0)