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