From 229dc2b5e11f643182939cc2a2081af56f673208 Mon Sep 17 00:00:00 2001 From: linggao Date: Fri, 24 Jun 2011 16:39:25 +0000 Subject: [PATCH] added linuximage.krpmver for sles images git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@9929 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 13fbcbc8e..f473cadff 100644 --- a/perl-xCAT/xCAT/Schema.pm +++ b/perl-xCAT/xCAT/Schema.pm @@ -616,7 +616,7 @@ osimage => { }, }, linuximage => { - cols => [qw(imagename template pkglist pkgdir otherpkglist otherpkgdir exlist postinstall rootimgdir kerneldir nodebootif otherifce netdrivers kernelver permission dump comments disable)], + cols => [qw(imagename template pkglist pkgdir otherpkglist otherpkgdir exlist postinstall rootimgdir kerneldir nodebootif otherifce netdrivers kernelver krpmver permission dump comments disable)], keys => [qw(imagename)], table_desc => 'Information about a Linux operating system image that can be used to deploy cluster nodes.', descriptions => { @@ -1971,6 +1971,11 @@ push(@{$defspec{node}->{'attrs'}}, @nodeattrs); tabentry => 'linuximage.kernelver', access_tabentry => 'linuximage.imagename=attr:imagename', }, + {attr_name => 'krpmver', + only_if => 'imagetype=linux', + tabentry => 'linuximage.krpmver', + access_tabentry => 'linuximage.imagename=attr:imagename', + }, {attr_name => 'permission', only_if => 'imagetype=linux', tabentry => 'linuximage.permission',