mirror of
https://github.com/edv-pi/pbs-client-docker.git
synced 2025-04-16 19:42:55 +02:00
modified: docker/src/s6-services/key_setup/run
modified: docker/src/s6-services/setup_check/run_include
This commit is contained in:
parent
83406b84af
commit
7b1d90ed7e
@ -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.
|
||||
|
@ -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}"
|
Loading…
Reference in New Issue
Block a user