From fdda43fade7bb48a5252ef5c7c0782ec8d14d682 Mon Sep 17 00:00:00 2001 From: Trevor Batley Date: Mon, 4 Sep 2023 16:28:55 +1000 Subject: [PATCH] add additional builders to /etc/exports --- koji-setup/add-koji-builder.sh | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/koji-setup/add-koji-builder.sh b/koji-setup/add-koji-builder.sh index 63c6f7d..f1de3bc 100644 --- a/koji-setup/add-koji-builder.sh +++ b/koji-setup/add-koji-builder.sh @@ -84,7 +84,7 @@ else fi # add build server to nfs exports line - # echo " $KOJI_BUILD_FQDN(ro,no_root_squash)" >> /etc/exports + sed '/^\/mnt\/koji/ s/$/ $KOJI_BUILD_FQDN(ro,no_root_squash)/' /etc/exports # Generate a certificate for the builder pushd "$KOJI_PKI_DIR" @@ -118,6 +118,3 @@ else # deploy koji builder ssh $QUIET root@$KOJI_BUILD_FQDN $SCRIPT_DIR/koji-deploy-builder.sh $DEBUG fi - -# -koji-bootstrap-build.sh $DEBUG \ No newline at end of file