diff --git a/install-koji-farm.sh b/install-koji-farm.sh index adbdf93..65938ae 100644 --- a/install-koji-farm.sh +++ b/install-koji-farm.sh @@ -141,6 +141,9 @@ else echo "- add this server into the /etc/hosts file on this server" exit 1 fi + # update hub config files to point at web server + sed -i s/KojiWebURL*/KojiWebURL = http://$KOJI_WEB_FQDN\/koji/ /etc/koji-hub/hub.conf + sed -i s/weburl*/weburl = http://$KOJI_WEB_FQDN\/koji/ /etc/koji.conf # generate a hub ssh key if there isn't one already (for scp & ssh to web server) if [ ! -f /root/.ssh/id-rsa ] ; then # create a ssh key on build server