mirror of
https://src.koozali.org/infra/smeserver-koji.git
synced 2024-12-22 15:37:00 +01:00
update hub configs to point at web server
This commit is contained in:
parent
fdc0aa0b3b
commit
8b0d6024d0
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user