Only check for rpms installed not repos disabled
@@ -111,7 +111,7 @@ class TestHostConnectionStep(Step):
python -c "from yum import YumBase
yb = YumBase()
baselist = %s
-if not yb.repos.listEnabled() and len([x for x in yb.doPackageLists(pkgnarrow='installed', patterns=baselist)]) >= len(baselist):
+if len([x for x in yb.doPackageLists(pkgnarrow='installed', patterns=baselist)]) >= len(baselist):
exit(0)
missing_electric_fence = not [p.name for p in yb.pkgSack.returnNewestByNameArch() if p.name == 'ElectricFence']
exit(missing_electric_fence)"
