Skip to content

Commit 2e5ddc0

Browse files
anoopcs9mergify[bot]
authored andcommitted
images/server: Simplify epel repo installation
Signed-off-by: Anoop C S <[email protected]>
1 parent 2d0f186 commit 2e5ddc0

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

images/server/install-packages.sh

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ get_samba_nightly_repo() {
4747
get_distro_ceph_repo() {
4848
if [[ "${OS_BASE}" = centos ]]; then
4949
dnf install --setopt=install_weak_deps=False -y \
50-
epel-release centos-release-ceph-reef
50+
centos-release-ceph-reef
5151
fi
5252
}
5353

@@ -77,6 +77,7 @@ case "${install_packages_from}" in
7777
samba-nightly)
7878
get_samba_nightly_repo
7979
get_distro_ceph_repo
80+
get_epel_repo_if_needed
8081
package_selection=${package_selection:-nightly}
8182
;;
8283
devbuilds)
@@ -89,6 +90,7 @@ case "${install_packages_from}" in
8990
custom-repo)
9091
get_custom_repo "${install_custom_repo}"
9192
get_distro_ceph_repo
93+
get_epel_repo_if_needed
9294
;;
9395
custom-devbuilds)
9496
get_custom_repo "${install_custom_repo}"

0 commit comments

Comments
 (0)