mirror of
https://github.com/schoebel/mars
synced 2024-12-22 06:40:52 +00:00
test_suite: make ssh key file changeable via MARS_SSH_KEYFILE
This commit is contained in:
parent
597d271a5c
commit
45a157851f
@ -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).
|
||||
|
@ -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}"
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user