mirror of
https://github.com/xcat2/xcat-core.git
synced 2025-05-30 09:36:41 +00:00
Merge pull request #333 from penguhyang/generate-stateful-osimage
correct to generate stateful-mgmtnode osimage on rh7.0
This commit is contained in:
commit
48eacf2b70
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user