Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
SUSE:SLE-12-SP2:GA
cobbler.378
disable_not_relevant_checks_bnc_828453.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File disable_not_relevant_checks_bnc_828453.patch of Package cobbler.378
Index: cobbler-2.6.6/cobbler/action_check.py =================================================================== --- cobbler-2.6.6.orig/cobbler/action_check.py +++ cobbler-2.6.6/cobbler/action_check.py @@ -100,7 +100,7 @@ class BootCheck: return status def check_for_ksvalidator(self, status): - if self.checked_dist in ["debian", "ubuntu"]: + if self.checked_dist in ["debian", "ubuntu", "suse"]: return if not os.path.exists("/usr/bin/ksvalidator"): @@ -109,6 +109,9 @@ class BootCheck: return True def check_for_cman(self, status): + if self.checked_dist == "suse": + return + # not doing rpm -q here to be cross-distro friendly if not os.path.exists("/sbin/fence_ilo") and not os.path.exists("/usr/sbin/fence_ilo"): status.append("fencing tools were not found, and are required to use the (optional) power management features. install cman or fence-agents to use them") @@ -180,6 +183,9 @@ class BootCheck: status.append(_("yum-utils need to be at least version 1.1.17 for reposync -l, current version is %s") % yum_utils_ver ) def check_debmirror(self,status): + if self.checked_dist == "suse": + return + if not os.path.exists("/usr/bin/debmirror"): status.append(_("debmirror package is not installed, it will be required to manage debian deployments and repositories")) if os.path.exists("/etc/debmirror.conf"): @@ -218,6 +224,9 @@ class BootCheck: status.append(_("SELinux is enabled. Please review the following wiki page for details on ensuring cobbler works correctly in your SELinux environment:\n https://github.com/cobbler/cobbler/wiki/Selinux")) def check_for_default_password(self,status): + if self.checked_dist == "suse": + return + default_pass = self.settings.default_password_crypted if default_pass == "$1$mF86/UHC$WvcIcX2t6crBz2onWxyac.": status.append(_("The default password used by the sample templates for newly installed machines (default_password_crypted in /etc/cobbler/settings) is still set to 'cobbler' and should be changed, try: \"openssl passwd -1 -salt 'random-phrase-here' 'your-password-here'\" to generate new one"))
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor