From 0f2ffec2b57eeb85dcad539588b38175525dcd2b Mon Sep 17 00:00:00 2001 From: yinle Date: Thu, 7 Jul 2011 06:18:59 +0000 Subject: [PATCH] add hwtype=hmc,ivm for onlyif nodetype=hmc,ivm to support the changes of ppc.nodetype git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@10031 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd --- perl-xCAT/xCAT/Schema.pm | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/perl-xCAT/xCAT/Schema.pm b/perl-xCAT/xCAT/Schema.pm index 3b3e68f3b..712d075a6 100644 --- a/perl-xCAT/xCAT/Schema.pm +++ b/perl-xCAT/xCAT/Schema.pm @@ -1464,21 +1464,25 @@ my @nodeattrs = ( #################### {attr_name => 'username', only_if => 'nodetype=ivm', + only_if => 'hwtype=ivm', tabentry => 'ppchcp.username', access_tabentry => 'ppchcp.hcp=attr:node', }, {attr_name => 'password', only_if => 'nodetype=ivm', + only_if => 'hwtype=ivm', tabentry => 'ppchcp.password', access_tabentry => 'ppchcp.hcp=attr:node', }, {attr_name => 'username', only_if => 'nodetype=hmc', + only_if => 'hwtype=hmc', tabentry => 'ppchcp.username', access_tabentry => 'ppchcp.hcp=attr:node', }, {attr_name => 'password', only_if => 'nodetype=hmc', + only_if => 'hwtype=hmc', tabentry => 'ppchcp.password', access_tabentry => 'ppchcp.hcp=attr:node', },