From 59432968bce752ac817b79045de7e54d4c950a62 Mon Sep 17 00:00:00 2001 From: Trevor Batley Date: Wed, 30 Aug 2023 09:31:57 +1000 Subject: [PATCH] set build as separate server --- koji-setup/deploy-koji.sh | 4 ++-- koji-setup/parameters.sh | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/koji-setup/deploy-koji.sh b/koji-setup/deploy-koji.sh index 4a6689d..41f8d35 100755 --- a/koji-setup/deploy-koji.sh +++ b/koji-setup/deploy-koji.sh @@ -258,8 +258,8 @@ chown -R "$HTTPD_USER":"$HTTPD_USER" "$KOJI_DIR" # twealk SELinux to allow $HTTPD_USER write access setsebool -P allow_httpd_anon_write=1 -semanage fcontext -a -t public_content_rw_t "/mnt/koji(/.*)?" -restorecon -r -v /mnt/koji +semanage fcontext -a -t public_content_rw_t "$KOJI_DIR(/.*)?" +restorecon -r -v $KOJI_DIR ## Apache Configuration Files mkdir -p /etc/httpd/conf.d diff --git a/koji-setup/parameters.sh b/koji-setup/parameters.sh index c4b4cf6..7f4be2f 100644 --- a/koji-setup/parameters.sh +++ b/koji-setup/parameters.sh @@ -6,7 +6,7 @@ export KOJI_DIR=/srv/koji export KOJI_MOUNT_DIR=/mnt/koji export KOJI_MASTER_FQDN="$(hostname -f)" -export KOJI_SLAVE_FQDN="$KOJI_MASTER_FQDN" +export KOJI_SLAVE_FQDN="kojibuild1.koozali.org" export KOJI_URL=http://"$KOJI_MASTER_FQDN" export KOJID_CAPACITY=16 export TAG_NAME=sme