From: Lei A. <xca...@so...> - 2014-07-10 03:36:16
|
The branch, 2.8 has been updated via 357ece6e9ebe791328e105a6374f36df7d1c82ce (commit) from 8552292c70141509a3382defaaa516ffe18ad3ef (commit) ----------------------------------------------------------------------- commit 357ece6e9ebe791328e105a6374f36df7d1c82ce Author: Lei Ai <le...@cn...> Date: Thu Jul 10 11:36:59 2014 +0800 support VM for node management profiles consistent check ----------------------------------------------------------------------- diff --git a/perl-xCAT/xCAT/ProfiledNodeUtils.pm b/perl-xCAT/xCAT/ProfiledNodeUtils.pm index 96458c8..0dc3efb 100644 --- a/perl-xCAT/xCAT/ProfiledNodeUtils.pm +++ b/perl-xCAT/xCAT/ProfiledNodeUtils.pm @@ -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' ) { |