mirror of
https://github.com/xcat2/xcat-core.git
synced 2025-06-19 12:50:49 +00:00
support VM for node management profiles consistent check
This commit is contained in:
@ -860,6 +860,11 @@ sub check_profile_consistent{
|
||||
return 0, "$nictype networkprofile must use with hardwareprofile.";
|
||||
}
|
||||
}
|
||||
|
||||
if ($mgt eq 'vm')
|
||||
{
|
||||
return 1, "";
|
||||
}
|
||||
|
||||
# For nodetype is lpar node, not need to check the nictype as it is not required for lpar node
|
||||
if (not $nictype and $mgt and $nodetype ne 'lpar' ) {
|
||||
|
Reference in New Issue
Block a user