summaryrefslogtreecommitdiffstats
path: root/ci
diff options
context:
space:
mode:
authorDan Radez <dradez@redhat.com>2016-01-14 15:43:11 +0000
committerGerrit Code Review <gerrit@172.30.200.206>2016-01-14 15:43:12 +0000
commitac2d6a58ee0794fd3add0b8bc31584853b5fff2a (patch)
treee3f6eae0fdb49727fcb5feefe6a3ec79822130a9 /ci
parent789b4564d2530aa1f614981e5a346aa2c07ef11b (diff)
parent56463a5e664d13fb29272f7391befbcdf880682d (diff)
Merge "Deploy failed due to .ssh already existing"brahmaputra.1.rc0
Diffstat (limited to 'ci')
-rwxr-xr-xci/deploy.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/ci/deploy.sh b/ci/deploy.sh
index 21999d12..02e98864 100755
--- a/ci/deploy.sh
+++ b/ci/deploy.sh
@@ -514,7 +514,7 @@ function setup_instack_vm {
# if the VM is not running update the authkeys and start it
if ! virsh list | grep instack > /dev/null; then
echo "Injecting ssh key to instack VM"
- virt-customize -c qemu:///system -d instack --run-command "mkdir /root/.ssh/" \
+ virt-customize -c qemu:///system -d instack --run-command "mkdir -p /root/.ssh/" \
--upload ~/.ssh/id_rsa.pub:/root/.ssh/authorized_keys \
--run-command "chmod 600 /root/.ssh/authorized_keys && restorecon /root/.ssh/authorized_keys" \
--run-command "cp /root/.ssh/authorized_keys /home/stack/.ssh/" \