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