From 7dbd6aaf3e15f96ea34c0eadb790b841f2078a7a Mon Sep 17 00:00:00 2001 From: mellor Date: Thu, 28 Mar 2013 02:36:54 +0000 Subject: [PATCH] added kit.release attr git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15682 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd --- perl-xCAT/xCAT/Schema.pm | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/perl-xCAT/xCAT/Schema.pm b/perl-xCAT/xCAT/Schema.pm index c21dfbb69..db9126d65 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,7 @@ 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 +3151,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',