diff options
author | Tim Rozet <trozet@redhat.com> | 2017-02-07 11:08:19 -0500 |
---|---|---|
committer | Tim Rozet <trozet@redhat.com> | 2017-02-07 11:08:19 -0500 |
commit | 758cb863deb7fc089bd4dbb491f7e821c71bf7ea (patch) | |
tree | 55c58ad67e00831de01804c4d8392ccf03d42bc3 /jjb/apex | |
parent | 3b37a172d8da1358611fb7a1967e967232d9154d (diff) |
Apex: fixes snapshot create RC files
Change-Id: I769bf1f4f6d0c399769422bc7a84a171c295cf2c
Signed-off-by: Tim Rozet <trozet@redhat.com>
Diffstat (limited to 'jjb/apex')
-rw-r--r-- | jjb/apex/apex-snapshot-create.sh | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/jjb/apex/apex-snapshot-create.sh b/jjb/apex/apex-snapshot-create.sh index 09c6a1197..5725ac641 100644 --- a/jjb/apex/apex-snapshot-create.sh +++ b/jjb/apex/apex-snapshot-create.sh @@ -26,10 +26,10 @@ mkdir -p ${tmp_dir} pushd ${tmp_dir} > /dev/null echo "Copying overcloudrc and ssh key from Undercloud..." # Store overcloudrc -UNDERCLOUD=$(sudo virsh domifaddr undercloud | grep -Eo '[0-9]+\.[0-9]+\.[0-9]+\.[0-9]') -scp ${SSH_OPTIONS[@]} stack@${UNDERCLOUD}:overcloudrc ./ +UNDERCLOUD=$(sudo virsh domifaddr undercloud | grep -Eo '[0-9]+\.[0-9]+\.[0-9]+\.[0-9]+') +sudo scp ${SSH_OPTIONS[@]} stack@${UNDERCLOUD}:overcloudrc ./ # Copy out ssh key of stack from undercloud -scp ${SSH_OPTIONS[@]} stack@${UNDERCLOUD}:.ssh/id_rsa ./ +sudo scp ${SSH_OPTIONS[@]} stack@${UNDERCLOUD}:.ssh/id_rsa ./ popd > /dev/null echo "Gathering introspection information" |