From f5eb7b6713fa5d368bcd4fb6beee862bf8dc06d6 Mon Sep 17 00:00:00 2001 From: mellor Date: Thu, 28 Mar 2013 02:34:42 +0000 Subject: [PATCH] added kit.release attr git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/branches/2.8@15681 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd --- perl-xCAT/xCAT/Schema.pm | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/perl-xCAT/xCAT/Schema.pm b/perl-xCAT/xCAT/Schema.pm index eed2e5cc5..8ef8ec46d 100644 --- a/perl-xCAT/xCAT/Schema.pm +++ b/perl-xCAT/xCAT/Schema.pm @@ -1337,7 +1337,7 @@ osdistroupdate => { }, }, kit => { - cols => [qw(kitname basename description version ostype isinternal kitdeployparams kitdir comments disable)], + cols => [qw(kitname basename description version release ostype isinternal kitdeployparams kitdir comments disable)], keys => [qw(kitname)], table_desc => 'This table stores all kits added to the xCAT cluster.', descriptions => { @@ -1345,6 +1345,8 @@ kit => { basename => 'The kit base name', description => 'The Kit description.', version => 'The kit version', + release => 'The kit release', + ostype => 'The kit OS type. Linux or AIX.', isinternal => 'A flag to indicated if the Kit is internally used. When set to 1, the Kit is internal. If 0 or undefined, the kit is not internal.', kitdeployparams => 'The file containing the default deployment parameters for this Kit. These parameters are added to the OS Image definition.s list of deployment parameters when one or more Kit Components from this Kit are added to the OS Image.', @@ -3150,6 +3152,10 @@ push(@{$defspec{group}->{'attrs'}}, @nodeattrs); tabentry => 'kit.version', access_tabentry => 'kit.kitname=attr:kitname', }, + {attr_name => 'release', + tabentry => 'kit.release', + access_tabentry => 'kit.kitname=attr:kitname', + }, {attr_name => 'ostype', tabentry => 'kit.ostype', access_tabentry => 'kit.kitname=attr:kitname',