From d1430d01a3b9a1098283ebdcd2104167d2324b84 Mon Sep 17 00:00:00 2001 From: vallard Date: Thu, 12 Feb 2009 22:44:31 +0000 Subject: [PATCH] added boottarget table to schema git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@2740 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd --- perl-xCAT/xCAT/Schema.pm | 16 +++++++++++++++- 1 file changed, 15 insertions(+), 1 deletion(-) diff --git a/perl-xCAT/xCAT/Schema.pm b/perl-xCAT/xCAT/Schema.pm index 1a9eae916..cc4ea899f 100644 --- a/perl-xCAT/xCAT/Schema.pm +++ b/perl-xCAT/xCAT/Schema.pm @@ -70,6 +70,19 @@ websrv => { 'disable' => "Set to 'yes' or '1' to comment out this row.", }, }, +boottarget => { + cols => [qw(bprofile kernel initrd kcmdline comments disable)], + keys => [qw(bprofile)], + table_desc => 'Target profiles with their accompanying kernel parameters', + descriptions => { + 'profile' => 'The name you want this boot target profile to be called', + 'kernel' => 'The kernel that network boot actions should currently acquire and use. Note this could be a chained boot loader such as memdisk or a non-linux boot loader', + 'initrd' => 'The initial ramdisk image that network boot actions should use (could be a DOS floppy or hard drive image if using memdisk as kernel)', + 'kcmdline' => 'Arguments to be passed to the kernel', + comments => 'Any user-written notes.', + disable => "Set to 'yes' or '1' to comment out this row." + } +}, bootparams => { cols => [qw(node kernel initrd kcmdline addkcmdline dhcpstatements adddhcpstatements comments disable)], keys => [qw(node)], @@ -687,7 +700,8 @@ foreach my $tabname (keys(%xCAT::ExtTab::ext_tabspec)) { policy => { attrs => [], attrhash => {}, objkey => 'priority' }, monitoring => { attrs => [], attrhash => {}, objkey => 'name' }, notification => { attrs => [], attrhash => {}, objkey => 'filename' }, - eventlog => { attrs => [], attrhash => {}, objkey => 'recid' }, + eventlog => { attrs => [], attrhash => {}, objkey => 'recid' }, + boottarget => { attrs => [], attrhash => {}, objkey => 'bprofile' }, );