2
0
mirror of https://github.com/xcat2/xcat-core.git synced 2025-05-31 01:56:39 +00:00

Add shared_root resource to osimage definition.

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@3507 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
nott 2009-06-03 13:00:13 +00:00
parent fc4952dd24
commit e9d4cad28e

View File

@ -583,7 +583,7 @@ vpd => {
},
},
nimimage => {
cols => [qw(imagename nimtype lpp_source spot root dump paging resolv_conf tmp home shared_home res_group nimmethod script bosinst_data installp_bundle mksysb fb_script comments disable)],
cols => [qw(imagename nimtype lpp_source spot root dump paging resolv_conf tmp home shared_home res_group nimmethod script bosinst_data installp_bundle mksysb fb_script shared_root comments disable)],
keys => [qw(imagename)],
table_desc => 'All the info that specifies a particular AIX operating system image that can be used to deploy AIX nodes.',
descriptions => {
@ -605,6 +605,7 @@ nimimage => {
bosinst_data => 'The name of a NIM bosinst_data resource.',
installp_bundle => 'The name of a NIM installp_bundle resource.',
mksysb => 'The name of a NIM mksysb resource.',
shared_root => 'A shared_root resource represents a directory that can be used as a / (root) directory by one or more diskless clients.',
comments => 'Any user-provided notes.',
disable => "Set to 'yes' or '1' to comment out this row.",
},
@ -1134,6 +1135,7 @@ my @nodeattrs = (
{attr_name => 'slot',
tabentry => 'nodepos.slot',
access_tabentry => 'nodepos.node=attr:node',
},
{attr_name => 'room',
tabentry => 'nodepos.room',
@ -1314,6 +1316,10 @@ push(@{$defspec{node}->{'attrs'}}, @nodeattrs);
tabentry => 'nimimage.shared_home',
access_tabentry => 'nimimage.imagename=attr:imagename',
},
{attr_name => 'shared_root',
tabentry => 'nimimage.shared_root',
access_tabentry => 'nimimage.imagename=attr:imagename',
},
{attr_name => 'script',
tabentry => 'nimimage.script',
access_tabentry => 'nimimage.imagename=attr:imagename',