From 7a6fc548349a981a383d663b2d2d6293d92f51c4 Mon Sep 17 00:00:00 2001 From: Trevor Batley Date: Thu, 31 Aug 2023 15:46:31 +1000 Subject: [PATCH] update README for builder prep --- README.md | 18 ++++++++++-------- 1 file changed, 10 insertions(+), 8 deletions(-) diff --git a/README.md b/README.md index 829c601..a16fe79 100644 --- a/README.md +++ b/README.md @@ -18,7 +18,7 @@ Thanks to George T Kramer for doing a lot of the prework for these over at Clear ## Getting Going -1. Copy these scripts into your ~/bin directory and make sure they are executeable +1. On the koji hub, copy these scripts into your ~/bin directory and make sure they are executeable mkdir -p ~/bin curl https://src.koozali.org/smedev/smeserver-koji/raw/branch/master/koji-setup/gencert.sh > ~/bin/gencert.sh @@ -38,18 +38,20 @@ Thanks to George T Kramer for doing a lot of the prework for these over at Clear If koji builder machine is not the same as koji master machine: -1. On the koji master machine, run +1. On the koji master, run deploy-koji-nfs-server.sh -1. Copy the koji builder certificate and the globals and parameters scripts from the koji master machine to the koji builder machine +1. On the koji builder, copy over keys and parameters from the Hub - scp "$KOJI_PKI_DIR/$KOJI_SLAVE_FQDN.pem" "$KOJI_SLAVE_FQDN":"$KOJI_PKI_DIR" - ssh "root@$KOJI_SLAVE_FQDN" "mkdir -p ~/bin" - scp "~/bin/globals.sh" "root@$KOJI_SLAVE_FQDN":"/root/bin/." - scp "~/bin/parameters.sh" "root@$KOJI_SLAVE_FQDN":"/root/bin/." + mkdir -p /etc/pki/koji + scp root@:/etc/pki/koji/.pem /etc/pki/koji/. + scp root@:/etc/pki/koji/koji_ca_cert.crt /etc/pki/koji/. + mkdir -p ~/bin + scp root@:/root/bin/globals.sh ~/bin/. + scp root@:/root/bin/parameters.sh ~/bin/. -1. On the koji builder machine, run +1. On the koji builder, copy down the scripts needed and run curl https://src.koozali.org/smedev/smeserver-koji/raw/branch/master/koji-setup/deploy-koji-nfs-client.sh > ~/bin/deploy-koji-nfs-client.sh curl https://src.koozali.org/smedev/smeserver-koji/raw/branch/master/koji-setup/deploy-koji-builder.sh > ~/bin/deploy-koji-builder.sh