tests: add option to disable kernel command line parameters check

This commit is contained in:
Jiri Kortus 2019-08-01 17:39:20 +02:00 committed by Lars Karlitski
parent beff4f6967
commit 562eb0a15d

View File

@ -46,7 +46,9 @@ verify_image() {
SSH_OPTS="-o StrictHostKeyChecking=no $3" SSH_OPTS="-o StrictHostKeyChecking=no $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 "$@"
if [ "$CHECK_CMDLINE" != 0 ]; then
check_kernel_cmdline "$@" check_kernel_cmdline "$@"
fi
} }
check_root_account() { check_root_account() {