add image_data to osimage def

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@6836 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
nott 2010-07-23 10:35:49 +00:00
parent f43e891300
commit acce626b15

View File

@ -788,6 +788,7 @@ nimimage => {
installp_bundle => 'One or more comma separated NIM installp_bundle resources.',
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.',
image_data => 'The name of a NIM image_data resource.',
comments => 'Any user-provided notes.',
disable => "Set to 'yes' or '1' to comment out this row.",
},
@ -1781,6 +1782,11 @@ push(@{$defspec{node}->{'attrs'}}, @nodeattrs);
tabentry => 'nimimage.resolv_conf',
access_tabentry => 'nimimage.imagename=attr:imagename',
},
{attr_name => 'image_data',
only_if => 'imagetype=NIM',
tabentry => 'nimimage.image_data',
access_tabentry => 'nimimage.imagename=attr:imagename',
},
{attr_name => 'tmp',
only_if => 'imagetype=NIM',
tabentry => 'nimimage.tmp',