Skip to contentSkip to conversation

conga/luci/site/luci/Extensions clusterOS.py

Cluster-devel [email protected] 1 participant 1 message Oct 24, 2006

lore
Share & tools
lore
#0 lore raw

CVSROOT: /cvs/cluster
Module name: conga
Changes by: rmccabe at sourceware.org 2006-10-24 17:23:49

Modified files:
luci/site/luci/Extensions: clusterOS.py

Log message:
fc6 has a name now, and its /etc/redhat-release no longer contains the string 'FC6' we were looking for in the test versions. look for 'Zod' now, also.

Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/conga/luci/site/luci/Extensions/clusterOS.py.diff?cvsroot=cluster&r1=1.2&r2=1.3

luci/site/luci/Extensions/clusterOS.py +1 -1
@@ -1,5 +1,5 @@
 def resolveOSType(os_str):
-	if not os_str or os_str.find('Tikanga') != (-1) or os_str.find('FC6') != (-1):
+	if not os_str or os_str.find('Tikanga') != (-1) or os_str.find('FC6') != (-1) or os_str.find('Zod') != (-1):
 		return 'rhel5'
 	else:
 		return 'rhel4'