diff --git a/TestLibs/LISALibrary.psm1 b/TestLibs/LISALibrary.psm1 index e4c14f2..fc1d32e 100644 --- a/TestLibs/LISALibrary.psm1 +++ b/TestLibs/LISALibrary.psm1 @@ -142,7 +142,7 @@ function InstallCustomKernel ($customKernel, $allVMData, [switch]$RestartAfterUp try { $customKernel = $customKernel.Trim() - if( ($customKernel -ne "linuxnext") -and ($customKernel -ne "netnext") -and !($customKernel.EndsWith(".deb"))) + if( ($customKernel -ne "linuxnext") -and ($customKernel -ne "netnext") -and !($customKernel.EndsWith(".deb")) -and !($customKernel.EndsWith(".rpm")) ) { LogErr "Only linuxnext and netnext version is supported. Other version will be added soon. Use -customKernel linuxnext. Or use -customKernel " }