2
0
mirror of https://github.com/xcat2/xcat-core.git synced 2025-07-28 07:11:11 +00:00

correct to generate stateful-mgmtnode osimage on rh7.0

This commit is contained in:
penguhyang
2015-10-28 22:31:53 -04:00
parent 0d023445d0
commit a482af52c4

View File

@@ -829,7 +829,7 @@ sub update_tables_with_mgt_image
#if the osver does not match the osver of MN, return
my $myosver = xCAT::Utils->osver("all");
$myosver =~ s/,//;
if ( $osver ne $myosver ) {
if(xCAT::Utils->version_cmp("$osver","$myosver")!=0){
return 0;
}