fix the mistake that lsdef can't list hmc's username and passwd. change only_if hwtype to nodetype
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@10048 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
parent
8a8f5b0a78
commit
3a53a2161d
@ -1483,25 +1483,16 @@ my @nodeattrs = (
|
||||
access_tabentry => 'ppchcp.hcp=attr:node',
|
||||
},
|
||||
{attr_name => 'username',
|
||||
only_if => 'hwtype=ivm',
|
||||
only_if => 'nodetype=ppc',
|
||||
tabentry => 'ppchcp.username',
|
||||
access_tabentry => 'ppchcp.hcp=attr:node',
|
||||
},
|
||||
{attr_name => 'password',
|
||||
only_if => 'hwtype=ivm',
|
||||
tabentry => 'ppchcp.password',
|
||||
access_tabentry => 'ppchcp.hcp=attr:node',
|
||||
},
|
||||
{attr_name => 'username',
|
||||
only_if => 'hwtype=hmc',
|
||||
tabentry => 'ppchcp.username',
|
||||
access_tabentry => 'ppchcp.hcp=attr:node',
|
||||
},
|
||||
{attr_name => 'password',
|
||||
only_if => 'hwtype=hmc',
|
||||
only_if => 'nodetype=ppc',
|
||||
tabentry => 'ppchcp.password',
|
||||
access_tabentry => 'ppchcp.hcp=attr:node',
|
||||
},
|
||||
|
||||
####################
|
||||
# ppc table #
|
||||
####################
|
||||
|
Loading…
Reference in New Issue
Block a user