diff options
author | Dan Radez <dradez@redhat.com> | 2016-01-14 15:43:11 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@172.30.200.206> | 2016-01-14 15:43:12 +0000 |
commit | ac2d6a58ee0794fd3add0b8bc31584853b5fff2a (patch) | |
tree | e3f6eae0fdb49727fcb5feefe6a3ec79822130a9 | |
parent | 789b4564d2530aa1f614981e5a346aa2c07ef11b (diff) | |
parent | 56463a5e664d13fb29272f7391befbcdf880682d (diff) |
Merge "Deploy failed due to .ssh already existing"brahmaputra.1.rc0
-rwxr-xr-x | ci/deploy.sh | 2 |
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/" \ |