mirror of
				https://github.com/xcat2/xcat-core.git
				synced 2025-10-31 11:22:27 +00:00 
			
		
		
		
	SL6.5 support
This commit is contained in:
		| @@ -92,9 +92,11 @@ require Exporter; | ||||
|                  "1194512327.501046" => "rhas4.6", | ||||
|                  "1241464993.830723" => "rhas4.8", #x86-64 | ||||
|  | ||||
| 		 "1273608367.051780" => "SL5.5", #x86_64 DVD ISO | ||||
|                 "1299104542.844706" => "SL6", #x86_64 DVD ISO | ||||
|                 "1394111947.452332" => "pkvm2.1", # ppc64 | ||||
|                  "1273608367.051780" => "SL5.5", #x86_64 DVD ISO | ||||
|                  "1299104542.844706" => "SL6", #x86_64 DVD ISO | ||||
|                  "1390839789.062069" => "SL6.5", #x86_64 DVD ISO Install | ||||
|  | ||||
|                  "1394111947.452332" => "pkvm2.1", # ppc64, PowerKVM | ||||
|                 ); | ||||
| my %numdiscs = ( | ||||
|                 "1156364963.862322" => 4, | ||||
|   | ||||
| @@ -176,7 +176,8 @@ if ((!$imagename) && (!$os)){ | ||||
|     my @dircontents = `ls $installdir`; | ||||
|     chomp(@dircontents); | ||||
|     foreach (@dircontents) { | ||||
| 	if($_ =~ /(rhel|fedora|sl|centos|suse)/){ | ||||
| 	# SL matches Scientific Linux, sl matches sles amd sled | ||||
| 	if($_ =~ /(rhel|fedora|SL|centos|sl|suse)/){ | ||||
| 	    push @oses,$_; | ||||
| 	} | ||||
|     }  | ||||
|   | ||||
| @@ -2208,6 +2208,13 @@ sub copycd | ||||
|             $distname = "rhels5"; | ||||
|         } | ||||
|     } | ||||
|     elsif ($desc =~ /^Scientific Linux (\d)\.(\d)/) | ||||
|     { | ||||
|         unless ($distname) | ||||
|         { | ||||
|             $distname = "SL$1.$2"; | ||||
|         } | ||||
|     } | ||||
|     elsif ($desc =~ /^LTS$/) | ||||
|     { | ||||
|         unless ($distname) | ||||
|   | ||||
		Reference in New Issue
	
	Block a user