mirror of
https://src.koozali.org/infra/smeserver-koji.git
synced 2024-11-22 01:27:29 +01:00
fix missing software
This commit is contained in:
parent
a6bf8d2d59
commit
8aa8bd0b49
@ -10,7 +10,7 @@ source "$SCRIPT_DIR"/parameters.sh
|
|||||||
# Install all the required packages (some live in the epel repo, so we need to install that too)
|
# Install all the required packages (some live in the epel repo, so we need to install that too)
|
||||||
dnf config-manager --set-enabled powertools
|
dnf config-manager --set-enabled powertools
|
||||||
dnf install epel-release
|
dnf install epel-release
|
||||||
dnf install koji-hub mod_ssl koji koji-web koji-utils
|
dnf install koji-hub mod_ssl koji koji-web koji-utils policycoreutils-python-utils
|
||||||
dnf module enable postgresql:10
|
dnf module enable postgresql:10
|
||||||
dnf install postgresql-server
|
dnf install postgresql-server
|
||||||
|
|
||||||
@ -100,12 +100,12 @@ echo 01 > "$KOJI_PKI_DIR"/serial
|
|||||||
openssl genrsa -out "$KOJI_PKI_DIR"/private/koji_ca_cert.key 2048
|
openssl genrsa -out "$KOJI_PKI_DIR"/private/koji_ca_cert.key 2048
|
||||||
openssl req -subj "/C=$COUNTRY_CODE/ST=$STATE/L=$LOCATION/O=$ORGANIZATION/OU=koji_ca/CN=$KOJI_MASTER_FQDN" -config "$KOJI_PKI_DIR"/ssl.cnf -new -x509 -days 3650 -key "$KOJI_PKI_DIR"/private/koji_ca_cert.key -out "$KOJI_PKI_DIR"/koji_ca_cert.crt -extensions v3_ca
|
openssl req -subj "/C=$COUNTRY_CODE/ST=$STATE/L=$LOCATION/O=$ORGANIZATION/OU=koji_ca/CN=$KOJI_MASTER_FQDN" -config "$KOJI_PKI_DIR"/ssl.cnf -new -x509 -days 3650 -key "$KOJI_PKI_DIR"/private/koji_ca_cert.key -out "$KOJI_PKI_DIR"/koji_ca_cert.crt -extensions v3_ca
|
||||||
mkdir -p /etc/ca-certs/trusted
|
mkdir -p /etc/ca-certs/trusted
|
||||||
cp -a "$KOJI_PKI_DIR"/koji_ca_cert.crt /etc/ca-certs/trusted
|
#cp -a "$KOJI_PKI_DIR"/koji_ca_cert.crt /etc/ca-certs/trusted
|
||||||
while true; do
|
#while true; do
|
||||||
if clrtrust generate; then
|
# if clrtrust generate; then
|
||||||
break
|
# break
|
||||||
fi
|
# fi
|
||||||
done
|
#done
|
||||||
|
|
||||||
# Generate the koji component certificates and the admin certificate and generate a PKCS12 user certificate (for web browser)
|
# Generate the koji component certificates and the admin certificate and generate a PKCS12 user certificate (for web browser)
|
||||||
cp "$SCRIPT_DIR"/gencert.sh "$KOJI_PKI_DIR"
|
cp "$SCRIPT_DIR"/gencert.sh "$KOJI_PKI_DIR"
|
||||||
|
@ -25,7 +25,7 @@ export DEBUG_RPM_DIR=
|
|||||||
export EXTERNAL_REPO=http://mirrorlist.centos.org/releases/10/smeos/
|
export EXTERNAL_REPO=http://mirrorlist.centos.org/releases/10/smeos/
|
||||||
|
|
||||||
## POSTGRESQL DATABASE
|
## POSTGRESQL DATABASE
|
||||||
export POSTGRES_DIR=/srv/pgsql
|
export POSTGRES_DIR=/var/lib/pgsql
|
||||||
|
|
||||||
## GIT REPOSITORIES
|
## GIT REPOSITORIES
|
||||||
export GIT_DIR=
|
export GIT_DIR=
|
||||||
|
Loading…
Reference in New Issue
Block a user