mirror of
				https://github.com/xcat2/xcat-core.git
				synced 2025-11-03 21:02:34 +00:00 
			
		
		
		
	Fix typo error in xcatprobe discovery precheck
This commit is contained in:
		@@ -563,8 +563,12 @@ sub check_genesis_file {
 | 
			
		||||
        $genesis_v = `rpm -qi xCAT-genesis-base-ppc64`;
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
    if ($genesis_v !~ /Built in environment .+fc.* on (.+)\./) {
 | 
			
		||||
        push @warn_msg, "xcat-genesis-base-ppc64 is built in environment fedora on $1.";
 | 
			
		||||
    if ($genesis_v =~ /Built in environment .+fc(\d*).+ on (.+)\./) {
 | 
			
		||||
        my $ver  = $1;
 | 
			
		||||
        my $arch = $2;
 | 
			
		||||
        push @warn_msg, "xcat-genesis-base-ppc64 is not built in environment fedora 26 or higher version on $arch." if ($ver < 26);
 | 
			
		||||
    } else {
 | 
			
		||||
        push @warn_msg, "xcat-genesis-base-ppc64 is not built in environment fedora.";
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
    my $genesis_update_flag_p;
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user