File smolt-1.1.1.1-config.patch of Package smolt
--- client/config.py
+++ client/config.py
@@ -11,10 +11,10 @@
#For Redhat
-try:
- OS = file('/etc/redhat-release').read().strip()
-except IOError:
- OS = "Shadowman!"
+#try:
+# OS = file('/etc/redhat-release').read().strip()
+#except IOError:
+# OS = "Shadowman!"
HW_UUID = "/etc/smolt/uuid"
@@ -29,12 +29,12 @@
FS_MOUNTS=commands.getoutput('rpm -ql filesystem').split('\n')
##For SuSE
-#try:
-# OS = file('/etc/SuSE-release').read().split('\n')[0].strip()
-#except IOError:
-# OS = "It's a Lizard man!, It changes Colours!"
-#
-#
+try:
+ OS = file('/etc/SuSE-release').read().split('\n')[0].strip()
+except IOError:
+ OS = "It's a Lizard man!, It changes Colours!"
+
+
#For Debian
#try:
#this is a bit of a kludge, as /etc/debian-release is