JIRA: COMPASS-457
please merge after https://gerrit.opnfv.org/gerrit/#/c/18665/
Change-Id: Ie73017dccc8e203fe14c75702e797cb63f20b462
Signed-off-by: MatthewLi <matthew.lijun@huawei.com>
sshpass -p root ssh 2>/dev/null $ssh_options root@${installer_ip} \
"scp $ssh_options ${controller_ip}:/opt/admin-openrc.sh ." &> /dev/null
sshpass -p root scp 2>/dev/null $ssh_options root@${installer_ip}:~/admin-openrc.sh $dest_path &> /dev/null
- echo 'export OS_REGION_NAME=regionOne' >> $dest_path
info "This file contains the mgmt keystone API, we need the public one for our rc file"
public_ip=$(sshpass -p root ssh $ssh_options root@${installer_ip} \