mirror of
https://github.com/xcat2/xcat-core.git
synced 2025-05-30 17:46:38 +00:00
Merge pull request #3616 from xuweibj/typo
Fix typo in xcatprobe discovery precheck
This commit is contained in:
commit
eb96ab7744
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user