mirror of
https://src.koozali.org/infra/smeserver-koji.git
synced 2024-11-22 09:37:28 +01:00
fix sed of web url
This commit is contained in:
parent
8b0d6024d0
commit
24956fadee
@ -142,8 +142,8 @@ else
|
|||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
# update hub config files to point at web server
|
# 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 's,KojiWebURL.*,KojiWebURL = http://$KOJI_WEB_FQDN/koji,g' /etc/koji-hub/hub.conf
|
||||||
sed -i s/weburl*/weburl = http://$KOJI_WEB_FQDN\/koji/ /etc/koji.conf
|
sed 's,weburl.*,weburl = http://$KOJI_WEB_FQDN/koji,g' /etc/koji.conf
|
||||||
# generate a hub ssh key if there isn't one already (for scp & ssh to web server)
|
# generate a hub ssh key if there isn't one already (for scp & ssh to web server)
|
||||||
if [ ! -f /root/.ssh/id-rsa ] ; then
|
if [ ! -f /root/.ssh/id-rsa ] ; then
|
||||||
# create a ssh key on build server
|
# create a ssh key on build server
|
||||||
|
Loading…
Reference in New Issue
Block a user