tests: add option to disable kernel command line parameters check
Related: rhbz#1733504
This commit is contained in:
parent
c2c6bfa458
commit
64f00d94b8
@ -46,7 +46,9 @@ verify_image() {
|
|||||||
SSH_OPTS="-o StrictHostKeyChecking=no -o BatchMode=yes $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'"
|
rlLogInfo "verify_image: SSH_OPTS:'$SSH_OPTS' SSH_USER:'$SSH_USER' SSH_MACHINE: '$SSH_MACHINE'"
|
||||||
check_root_account "$@"
|
check_root_account "$@"
|
||||||
check_kernel_cmdline "$@"
|
if [ "$CHECK_CMDLINE" != 0 ]; then
|
||||||
|
check_kernel_cmdline "$@"
|
||||||
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
check_root_account() {
|
check_root_account() {
|
||||||
|
Loading…
Reference in New Issue
Block a user