mirror of
				https://github.com/xcat2/xcat-core.git
				synced 2025-10-30 10:52:31 +00:00 
			
		
		
		
	Add RHEL media autodetection
Rather than using discids, RedHat could also use media autodetection.
This commit is contained in:
		| @@ -2075,6 +2075,8 @@ sub copycd | ||||
| 	    $release =~ /.*centos-release-([^-]*)-.*/; | ||||
|             $distname = "centos" . $1; | ||||
|         } | ||||
|     } elsif ($desc and $desc =~ /Red Hat Enterprise Linux (.*)/) { | ||||
|         $distname = "rhels" . $1; | ||||
|     } elsif (-r $mntpath . "/isolinux/isolinux.cfg") { | ||||
|         my $icfg; | ||||
|  | ||||
|   | ||||
		Reference in New Issue
	
	Block a user