Skip to content

Commit c4177f4

Browse files
anoopcs9phlogistonjohn
authored andcommitted
images/server: Install samba-vfs-glusterfs on CentOS
Signed-off-by: Anoop C S <[email protected]>
1 parent 0e3cb1a commit c4177f4

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

images/server/install-packages.sh

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,6 +79,12 @@ get_epel_repo_if_needed() {
7979
fi
8080
}
8181

82+
get_glusterfs_repo_if_needed() {
83+
if [[ "${OS_BASE}" = centos ]]; then
84+
dnf install --setopt=install_weak_deps=False -y centos-release-gluster
85+
fi
86+
}
87+
8288
get_ceph_shaman_repo() {
8389
ceph_ref="${CEPH_REPO_REF:-main}"
8490
ceph_sha="${CEPH_REPO_SHA:-latest}"
@@ -115,6 +121,7 @@ fi
115121
OS_BASE="$(. /etc/os-release && echo "${ID}")"
116122

117123
get_epel_repo_if_needed
124+
get_glusterfs_repo_if_needed
118125

119126
case "${install_packages_from}" in
120127
samba-nightly)
@@ -179,7 +186,7 @@ case "${package_selection}-${OS_BASE}" in
179186
;&
180187
nightly-centos|default-centos)
181188
dnf_cmd+=(--enablerepo=epel)
182-
samba_packages+=(samba-vfs-cephfs ctdb-ceph-mutex)
189+
samba_packages+=(samba-vfs-cephfs samba-vfs-glusterfs ctdb-ceph-mutex)
183190
# these packages should be installed as deps. of sambacc extras
184191
# however, the sambacc builds do not enable the extras on centos atm.
185192
# Once this is fixed this line ought to be removed.

0 commit comments

Comments
 (0)