mirror of
https://src.koozali.org/infra/smeserver-koji.git
synced 2024-11-21 17:17:28 +01:00
add chmod x
This commit is contained in:
parent
b76ceadbc7
commit
a2ad37859b
@ -33,6 +33,7 @@ mkdir -p $SCRIPT_DIR
|
|||||||
curl $SCRIPT_GIT/gencert.sh > $SCRIPT_DIR/gencert.sh
|
curl $SCRIPT_GIT/gencert.sh > $SCRIPT_DIR/gencert.sh
|
||||||
curl $SCRIPT_GIT/deploy-koji.sh > $SCRIPT_DIR/deploy-koji.sh
|
curl $SCRIPT_GIT/deploy-koji.sh > $SCRIPT_DIR/deploy-koji.sh
|
||||||
curl $SCRIPT_GIT/bootstrap-build.sh > $SCRIPT_DIR/bootstrap-build.sh
|
curl $SCRIPT_GIT/bootstrap-build.sh > $SCRIPT_DIR/bootstrap-build.sh
|
||||||
|
chmod o+x $SCRIPT_DIR/*.sh
|
||||||
|
|
||||||
# ask for required parameters (ssh settings and build server FQDN)
|
# ask for required parameters (ssh settings and build server FQDN)
|
||||||
KOJI_HUB_FQDN="$(hostname -f)"
|
KOJI_HUB_FQDN="$(hostname -f)"
|
||||||
@ -63,7 +64,6 @@ done
|
|||||||
read -p "Build server FQDN (will default to hub FQDN '$KOJI_HUB_FQDN' if left blank) " KOJI_BUILD_FQDN
|
read -p "Build server FQDN (will default to hub FQDN '$KOJI_HUB_FQDN' if left blank) " KOJI_BUILD_FQDN
|
||||||
if [ $KOJI_BUILD_FQDN ] ; then
|
if [ $KOJI_BUILD_FQDN ] ; then
|
||||||
echo "$KOJI_BUILD_FQDN will be made a Koji Build server"
|
echo "$KOJI_BUILD_FQDN will be made a Koji Build server"
|
||||||
break
|
|
||||||
else
|
else
|
||||||
KOJI_BUILD_FQDN=$KOJI_HUB_FQDN
|
KOJI_BUILD_FQDN=$KOJI_HUB_FQDN
|
||||||
echo "All-in-one: Hub will now be a build server as well"
|
echo "All-in-one: Hub will now be a build server as well"
|
||||||
|
Loading…
Reference in New Issue
Block a user