summaryrefslogtreecommitdiffstats
path: root/jjb
diff options
context:
space:
mode:
authorxudan <xudan16@huawei.com>2017-07-31 22:13:31 -0400
committerxudan <xudan16@huawei.com>2017-07-31 22:13:31 -0400
commit054cc9c27668ccd18d970ee0c88138178301478b (patch)
tree8da6a9ce731292cc7fa15620e24b36b1d0f5f73e /jjb
parentcb8ed91ec5941bfc4b5084be4519d828d09ca1ed (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')
-rwxr-xr-xjjb/dovetail/dovetail-run.sh2
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