Update 'airship' tool default Pegleg password and salt

Pegleg requires for a password and salt to be longer than 24 characters. This
patch updates 'tools/airship' wrapper script with default Pegleg password and
salt to be longer than required.

Fixes error:
> pegleg.engine.exceptions.PassphraseInsufficientLengthException:
>   PEGLEG_PASSPHRASE must be at least 24 characters long.

Change-Id: I31e7694970281ae992e918b67ff3d7f97d3c9bc5
This commit is contained in:
Roman Gorshunov 2020-01-03 14:35:54 +01:00
parent 40797b9d44
commit 77a6d76ca2
1 changed files with 2 additions and 2 deletions

View File

@ -39,8 +39,8 @@ fi
# prepare docker environment file
cat > $ENV_FILE << EOF
PEGLEG_PASSPHRASE=${PEGLEG_PASSPHRASE:-password123}
PEGLEG_SALT=${PEGLEG_SALT:-password123}
PEGLEG_PASSPHRASE=${PEGLEG_PASSPHRASE:-password12345678901234567890}
PEGLEG_SALT=${PEGLEG_SALT:-password12345678901234567890}
OS_AUTH_URL=${OS_AUTH_URL:-http://keystone.ucp.svc.cluster.local:80/v3}
OS_PASSWORD=${OS_PASSWORD}