modified: docker/src/s6-services/key_setup/run

modified:   docker/src/s6-services/setup_check/run_include
This commit is contained in:
Tobias Müller 2025-01-15 12:39:19 +01:00
parent 83406b84af
commit 7b1d90ed7e
2 changed files with 4 additions and 2 deletions

View File

@ -26,7 +26,7 @@ master_public_keyfile="/root/.config/proxmox-backup/master-public.pem"
expect="/usr/bin/expect"
if [ -n "$UNENCRYPTED" ]; then
if [ "$UNENCRYPTED" = "1" ]; then
echo "Encryption not activated not gonna create any Keys."
else
# Check if client encryption keyfile exists and do stuff.

View File

@ -32,11 +32,13 @@ fi
if [ -n "$UNENCRYPTED" ]; then
UNENCRYPTED="${UNENCRYPTED}"
export UNENCRYPTED
else
UNENCRYPTED="0"
fi
HEALTHCHECKSURL="${HEALTHCHECKSHOSTNAME}/ping/${HEALTHCHECKSUUID}"
export UNENCRYPTED
export HEALTHCHECKSURL="${HEALTHCHECKSURL}"
export PBS_PASSWORD="${PBS_PASSWORD}"
export PBS_REPOSITORY="${PBS_USER}@${PBS_ENDPOINT}:${PBS_DATASTORE}"