summaryrefslogtreecommitdiffstats
path: root/heat/ONAP/cloud-config/so_vm_init.sh
diff options
context:
space:
mode:
authorMarco Platania <platania@research.att.com>2018-09-05 14:26:34 -0400
committerMarco Platania <platania@research.att.com>2018-09-05 14:26:34 -0400
commit8c1c99dfc4a42ff8e438a13858c95340a0f677c7 (patch)
treeca41ad656c7c8383faeeb58edd2617a45dc096d8 /heat/ONAP/cloud-config/so_vm_init.sh
parent2871669ad9a0db36280fd1bcb7ff9d12066d1369 (diff)
Remove plain OpenStack pwd from Heat
- Replace plain OpenStack password with its encrypted version - Update SO install/init script to skip key encryption (will be done by user) - Provide a script that encrypts the plain OpenStack password Change-Id: Ifb7010ab8720ca92119c65484d05f5cfacf023cb Issue-ID: INT-646 Signed-off-by: Marco Platania <platania@research.att.com>
Diffstat (limited to 'heat/ONAP/cloud-config/so_vm_init.sh')
-rw-r--r--heat/ONAP/cloud-config/so_vm_init.sh3
1 files changed, 2 insertions, 1 deletions
diff --git a/heat/ONAP/cloud-config/so_vm_init.sh b/heat/ONAP/cloud-config/so_vm_init.sh
index fb19d1a3..1acf2eb0 100644
--- a/heat/ONAP/cloud-config/so_vm_init.sh
+++ b/heat/ONAP/cloud-config/so_vm_init.sh
@@ -5,7 +5,8 @@ NEXUS_PASSWD=$(cat /opt/config/nexus_password.txt)
NEXUS_DOCKER_REPO=$(cat /opt/config/nexus_docker_repo.txt)
DMAAP_TOPIC=$(cat /opt/config/dmaap_topic.txt)
OPENSTACK_USERNAME=$(cat /opt/config/openstack_username.txt)
-OPENSTACK_APIKEY=$(cat /opt/config/api_key.txt)
+#OPENSTACK_APIKEY=$(cat /opt/config/api_key.txt)
+OPENSTACK_APIKEY=$(cat /opt/config/openstack_api_key.txt)
export MSO_DOCKER_IMAGE_VERSION=$(cat /opt/config/docker_version.txt)
export MTU=$(/sbin/ifconfig | grep MTU | sed 's/.*MTU://' | sed 's/ .*//' | sort -n | head -1)