From a04dd07665a05c156b552f560d990a4bba13ca93 Mon Sep 17 00:00:00 2001 From: Trevor Batley Date: Thu, 31 Aug 2023 15:08:05 +1000 Subject: [PATCH] install nfs-utils on build --- koji-setup/deploy-koji-nfs-client.sh | 3 +++ koji-setup/parameters.sh | 4 ++-- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/koji-setup/deploy-koji-nfs-client.sh b/koji-setup/deploy-koji-nfs-client.sh index b1e2c56..64e78ef 100755 --- a/koji-setup/deploy-koji-nfs-client.sh +++ b/koji-setup/deploy-koji-nfs-client.sh @@ -7,6 +7,9 @@ SCRIPT_DIR="$(dirname "$(realpath "$0")")" source "$SCRIPT_DIR"/globals.sh source "$SCRIPT_DIR"/parameters.sh +# Install nfs-utils +dnf install -y nfs-utils + KOJI_MOUNT_SERVICE="${KOJI_DIR:1}" KOJI_MOUNT_SERVICE="${KOJI_MOUNT_SERVICE/\//-}".mount mkdir -p /etc/systemd/system diff --git a/koji-setup/parameters.sh b/koji-setup/parameters.sh index de0ec80..8b57d82 100644 --- a/koji-setup/parameters.sh +++ b/koji-setup/parameters.sh @@ -4,8 +4,8 @@ ## KOJI RPM BUILD AND TRACKER export KOJI_DIR=/mnt/koji -export KOJI_MASTER_FQDN="$(hostname -f)" -# Use master FQDN if build server on master +export KOJI_MASTER_FQDN="koji.koozali.org" +# Use master FQDN if a combined build and master server #export KOJI_SLAVE_FQDN="$KOJI_MASTER_FQDN" # Build server FQDN if different from master export KOJI_SLAVE_FQDN="kojibuild1.koozali.org"