From 568f78c0dd6cf66f3f4a5e9b1b55cc4322acedf8 Mon Sep 17 00:00:00 2001 From: Rashmi Pujar Date: Mon, 26 Feb 2018 16:29:58 -0500 Subject: Update OPENSTACK_API_ENCRYPTED_KEY generation Use OPENSTACK_PASSWORD in config-init.sh to generate the encrypted openstack API key. OPENSTACK_API_KEY no longer exists. Change-Id: If6e40da05810b345f73df99f171c8a9bd72dabcb Signed-off-by: Rashmi Pujar Issue-ID: OOM-770 --- kubernetes/config/docker/init/config-init.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kubernetes/config/docker/init/config-init.sh b/kubernetes/config/docker/init/config-init.sh index cdf2d53522..a65a11e89e 100755 --- a/kubernetes/config/docker/init/config-init.sh +++ b/kubernetes/config/docker/init/config-init.sh @@ -145,7 +145,7 @@ OPENSTACK_OAM_NETWORK_CIDR_PREFIX=`cut -d. -f1-3 <<<"$OPENSTACK_OAM_NETWORK_CIDR # MSO post install steps to encrypt openstack password MSO_ENCRYPTION_KEY=$(cat /config-init/$NAMESPACE/mso/mso/encryption.key) -OPENSTACK_API_ENCRYPTED_KEY=`echo -n "$OPENSTACK_API_KEY" | openssl aes-128-ecb -e -K $MSO_ENCRYPTION_KEY -nosalt | xxd -c 256 -p` +OPENSTACK_API_ENCRYPTED_KEY=`echo -n "$OPENSTACK_PASSWORD" | openssl aes-128-ecb -e -K $MSO_ENCRYPTION_KEY -nosalt | xxd -c 256 -p` echo "Substituting configuration parameters" -- cgit 1.2.3-korg