mirror of
https://src.koozali.org/infra/smeserver-koji.git
synced 2024-11-21 17:17:28 +01:00
update README for builder prep
This commit is contained in:
parent
1766da2c38
commit
7a6fc54834
18
README.md
18
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@<FQDN of koji hub>:/etc/pki/koji/<FQDN of builder>.pem /etc/pki/koji/.
|
||||
scp root@<FQDN of koji hub>:/etc/pki/koji/koji_ca_cert.crt /etc/pki/koji/.
|
||||
mkdir -p ~/bin
|
||||
scp root@<FQDN of koji hub>:/root/bin/globals.sh ~/bin/.
|
||||
scp root@<FQDN of koji hub>:/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
|
||||
|
Loading…
Reference in New Issue
Block a user