summaryrefslogtreecommitdiffstats
path: root/utils/fetch_os_creds.sh
diff options
context:
space:
mode:
authorMorgan Richomme <morgan.richomme@orange.com>2017-09-08 08:34:05 +0000
committerGerrit Code Review <gerrit@opnfv.org>2017-09-08 08:34:05 +0000
commite451a2c7a5eec25624d2ec6d5f23f123038f88d9 (patch)
tree772aae732f79d191b67dea7cd7164c9c0ad3975d /utils/fetch_os_creds.sh
parent68cad8a9b95b97ec58ba763abf11bdcfb4e0b1db (diff)
parentcc53c861eb550b7fb882212f4abd6c0c63ba0f71 (diff)
Merge "Add functest-healthcheck alpine to xci-verify-healthcheck-macro"
Diffstat (limited to 'utils/fetch_os_creds.sh')
-rwxr-xr-xutils/fetch_os_creds.sh4
1 files changed, 4 insertions, 0 deletions
diff --git a/utils/fetch_os_creds.sh b/utils/fetch_os_creds.sh
index 54b2b45df..3bc66f942 100755
--- a/utils/fetch_os_creds.sh
+++ b/utils/fetch_os_creds.sh
@@ -243,6 +243,10 @@ elif [ "$installer_type" == "daisy" ]; then
sshpass -p r00tme scp 2>/dev/null $ssh_options root@${installer_ip}:/etc/kolla/admin-openrc.sh $dest_path &> /dev/null
+elif ["$installer_type" == "osa"]; then
+ # Get RC file from control server
+ filename=$(ssh -o StrictHostKeyChecking=no root@${controller_ip} find /var/lib/lxc/controller00_nova_api_placement_container-* -name openrc)
+ scp root@${controller_ip}:${filename} ${destpath}
else
error "Installer $installer is not supported by this script"
fi