commit | dd86961f3c6b5a80b2c408ec3bf5c6ca028eb55d | [log] [tgz] |
---|---|---|
author | Jiri Broulik <jbroulik@mirantis.com> | Mon Jul 10 19:26:49 2017 +0200 |
committer | Jiri Broulik <jbroulik@mirantis.com> | Mon Jul 10 19:27:01 2017 +0200 |
tree | 2bf4bffe42a2a6f17581019d151c4513ee081374 | |
parent | 356b861bca02b7d0bdfb750b984a776c199ca738 [diff] |
target.host fix Change-Id: I69573b2ffcc3f928a114cd4231ffed9ec2a7d29b
diff --git a/xtrabackup/files/innobackupex-client-runner.sh b/xtrabackup/files/innobackupex-client-runner.sh index cdb55c7..47e92aa 100644 --- a/xtrabackup/files/innobackupex-client-runner.sh +++ b/xtrabackup/files/innobackupex-client-runner.sh
@@ -133,7 +133,7 @@ echo # rsync just the new or modified backup files -{%- if client.target.host is defined %} +{%- if client.target is defined %} echo "Adding ssh-key of remote host to known_hosts" ssh-keygen -R {{ client.target.host }} 2>&1 | > $rsyncLog ssh-keyscan {{ client.target.host }} >> ~/.ssh/known_hosts 2>&1 | >> $rsyncLog