test_suite: make ssh key file changeable via MARS_SSH_KEYFILE

This commit is contained in:
Frank Liepold 2014-04-24 13:35:04 +02:00
parent 597d271a5c
commit 45a157851f
2 changed files with 3 additions and 2 deletions

View File

@ -342,7 +342,8 @@ MARS_INITIAL_PRIMARY_HOST and MARS_INITIAL_SECONDARY_HOST
The tests are executed by ssh commands from your work station to the
test hosts. These commands must not prompt for a password. Though a
id file (for ssh -i <id-file>) with null password must be specified in
main_ssh_idfile_opt (default-main.conf)
main_ssh_idfile_opt (default-main.conf) or given via the environment variable
MARS_SSH_KEYFILE
All test hosts must have ssh access to each other without prompt for passwords
(this is required by marsadm join-cluster).

View File

@ -51,5 +51,5 @@ declare -g -A main_error_recovery_functions
## for batch ssh access from our work station to the involved hosts we need a
## id file without password.
main_ssh_idfile_opt="-i $HOME/.ssh/id_dsa_no_pw"
main_ssh_idfile_opt="-i ${MARS_SSH_KEYFILE:-$HOME/.ssh/id_dsa_no_pw}"