diff options
author | 2017-07-31 22:13:31 -0400 | |
---|---|---|
committer | 2017-07-31 22:13:31 -0400 | |
commit | 054cc9c27668ccd18d970ee0c88138178301478b (patch) | |
tree | 8da6a9ce731292cc7fa15620e24b36b1d0f5f73e /jjb/dovetail | |
parent | cb8ed91ec5941bfc4b5084be4519d828d09ca1ed (diff) |
Bugfix: Permission denied when fetching Apex id_rsa file
JIRA: DOVETAIL-472
It's permission denied When copy id_rsa file from Apex undercloud.
Add sudo to the scp operation.
Change-Id: I97bd8a74c406269d066dcde36978c17aa3ce6be2
Signed-off-by: xudan <xudan16@huawei.com>
Diffstat (limited to 'jjb/dovetail')
-rwxr-xr-x | jjb/dovetail/dovetail-run.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/jjb/dovetail/dovetail-run.sh b/jjb/dovetail/dovetail-run.sh index 418d66fb1..f75cddefe 100755 --- a/jjb/dovetail/dovetail-run.sh +++ b/jjb/dovetail/dovetail-run.sh @@ -119,7 +119,7 @@ fi if [ "$INSTALLER_TYPE" == "apex" ]; then echo "Fetching id_rsa file from jump_server $INSTALLER_IP..." - scp $ssh_options stack@${INSTALLER_IP}:~/.ssh/id_rsa ${DOVETAIL_CONFIG}/id_rsa + sudo scp $ssh_options stack@${INSTALLER_IP}:~/.ssh/id_rsa ${DOVETAIL_CONFIG}/id_rsa fi # sdnvpn test case needs to download this image first before running |