From acce626b15e496f4f3ca2054a720786edd295647 Mon Sep 17 00:00:00 2001 From: nott Date: Fri, 23 Jul 2010 10:35:49 +0000 Subject: [PATCH] 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 --- perl-xCAT/xCAT/Schema.pm | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/perl-xCAT/xCAT/Schema.pm b/perl-xCAT/xCAT/Schema.pm index 843c4156a..fd3456f9e 100644 --- a/perl-xCAT/xCAT/Schema.pm +++ b/perl-xCAT/xCAT/Schema.pm @@ -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',