summaryrefslogtreecommitdiffstats
path: root/utils
diff options
context:
space:
mode:
authorJun Li <matthew.lijun@huawei.com>2017-07-07 09:27:56 +0000
committerGerrit Code Review <gerrit@opnfv.org>2017-07-07 09:27:56 +0000
commit7a17287a071eec33bc0cd542230dce9d2dc8129b (patch)
treeb4111d88afdb6e86c25abe069f90dde743d713c6 /utils
parent26f55bef14c2fec7a0422bc757517b115b7870c8 (diff)
parent59ca5134602257e4fa3ea1bd076bacdbe114463f (diff)
Merge "Change owner of the openrc file for compass"
Diffstat (limited to 'utils')
-rwxr-xr-xutils/fetch_os_creds.sh1
1 files changed, 1 insertions, 0 deletions
diff --git a/utils/fetch_os_creds.sh b/utils/fetch_os_creds.sh
index b514a91d3..285f838db 100755
--- a/utils/fetch_os_creds.sh
+++ b/utils/fetch_os_creds.sh
@@ -155,6 +155,7 @@ elif [ "$installer_type" == "apex" ]; then
elif [ "$installer_type" == "compass" ]; then
if [ "${BRANCH}" == "master" ]; then
sudo docker cp compass-tasks:/opt/openrc $dest_path &> /dev/null
+ sudo chown $(whoami):$(whoami) $dest_path
else
verify_connectivity $installer_ip
controller_ip=$(sshpass -p'root' ssh 2>/dev/null $ssh_options root@${installer_ip} \