1987141 - hp-plugin installs malformed udev files fixed warning: redhatenterpriselinux distro is not found in AUTH_TYPES
14 lines
401 B
Diff
14 lines
401 B
Diff
diff --git a/base/password.py b/base/password.py
|
|
index bff9f80..269ebd8 100644
|
|
--- a/base/password.py
|
|
+++ b/base/password.py
|
|
@@ -97,7 +97,7 @@ def get_distro_name():
|
|
os_name = name.read().strip()
|
|
name.close()
|
|
|
|
- os_name = os_name.lower()
|
|
+ os_name = os_name.lower().replace(' ','')
|
|
if "redhatenterprise" in os_name:
|
|
os_name = 'rhel'
|
|
elif "suse" in os_name:
|