missing KOJI_PKI_DIR in install script

This commit is contained in:
Trevor Batley 2023-09-01 17:12:40 +10:00
parent cbf5671b53
commit 6e60730b3d

View File

@ -120,6 +120,7 @@ if [ "$KOJI_BUILD_FQDN" != "$KOJI_HUB_FQDN" ] ; then
ssh-keygen -t rsa -f /root/.ssh/id_rsa -N ""
ssh-copy-id -i ~/.ssh/id_rsa.pub $KOJI_BUILD_FQDN
# copy across the ssl keys
KOJI_PKI_DIR="/etc/pki/koji"
ssh $QUIET root@$KOJI_BUILD_FQDN mkdir $KOJI_PKI_DIR
scp $QUIET $KOJI_PKI_DIR/$KOJI_BUILD_FQDN.pem root@$KOJI_BUILD_FQDN:$KOJI_PKI_DIR/.
scp $QUIET $KOJI_PKI_DIR/koji_ca_cert.crt root@$KOJI_BUILD_FQDN:$KOJI_PKI_DIR/.