From b6caedc3e750498ca2d5171246f7273821008d60 Mon Sep 17 00:00:00 2001 From: Trevor Batley Date: Sat, 2 Sep 2023 16:16:17 +1000 Subject: [PATCH] install epel-release --- install-koji-farm.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/install-koji-farm.sh b/install-koji-farm.sh index f8007fc..ab38164 100644 --- a/install-koji-farm.sh +++ b/install-koji-farm.sh @@ -34,6 +34,7 @@ curl $SILENT $SCRIPT_GIT/bootstrap-build.sh > $SCRIPT_DIR/bootstrap-build.sh chmod o+x $SCRIPT_DIR/*.sh # install any required packages +dnf install -y epel-release $QUIET dnf install -y netcat $QUIET # ask for required parameters (ssh settings and build server FQDN) @@ -163,7 +164,7 @@ while true ; do ## On the HUB # check if nfs has been installed on the hub (only need to install once) - if [ ! -f /etc/exports ] ; then + if [ ! -s /etc/exports ] ; then # add nfs share for koji files direcory to hub curl $SILENT $SCRIPT_GIT/deploy-koji-nfs-server.sh > $SCRIPT_DIR/deploy-koji-nfs-server.sh chmod o+x $SCRIPT_DIR/deploy-koji-nfs-server.sh