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',