Prevent ssh asking for password when testing on interactive terminal
Related: rhbz#1704209
This commit is contained in:
parent
0777e91d52
commit
d97ff118d9
@ -21,7 +21,7 @@ fi
|
||||
verify_image() {
|
||||
SSH_USER="$1"
|
||||
SSH_MACHINE="$2"
|
||||
SSH_OPTS="-o StrictHostKeyChecking=no $3"
|
||||
SSH_OPTS="-o StrictHostKeyChecking=no -o BatchMode=yes $3"
|
||||
rlLogInfo "verify_image: SSH_OPTS:'$SSH_OPTS' SSH_USER:'$SSH_USER' SSH_MACHINE: '$SSH_MACHINE'"
|
||||
check_root_account "$@"
|
||||
check_kernel_cmdline "$@"
|
||||
|
Loading…
Reference in New Issue
Block a user