From fe4ad483c4fc9ffb603a971e41c0b3d07957a07a Mon Sep 17 00:00:00 2001 From: lissav Date: Wed, 8 Oct 2008 15:16:49 +0000 Subject: [PATCH] add add bootparams.addkcmdline attribute to Schema git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@2304 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd --- perl-xCAT/xCAT/Schema.pm | 15 ++++++++++++--- 1 file changed, 12 insertions(+), 3 deletions(-) diff --git a/perl-xCAT/xCAT/Schema.pm b/perl-xCAT/xCAT/Schema.pm index 06e776043..6ab3247dc 100644 --- a/perl-xCAT/xCAT/Schema.pm +++ b/perl-xCAT/xCAT/Schema.pm @@ -52,14 +52,17 @@ vm => { } }, bootparams => { - cols => [qw(node kernel initrd kcmdline comments disable)], + cols => [qw(node kernel initrd kcmdline addkcmdline comments disable)], keys => [qw(node)], table_desc => 'Current boot settings to be sent to systems attempting network boot for deployment, stateless, or other reasons. Mostly automatically manipulated by xCAT.', descriptions => { 'node' => 'The node or group name', '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' + 'kcmdline' => 'Arguments to be passed to the kernel', + 'addkcmdline' => 'User specified one or more parameters to be passed to the kernel', + comments => 'Any user-written notes.', + disable => "Set to 'yes' or '1' to comment out this row.", } }, prodkey => { @@ -69,7 +72,9 @@ prodkey => { descriptions => { node => "The node name or group name.", product => "A string to identify the product (for OSes, the osname would be used, i.e. wink28", - key => "The product key relevant to the aforementioned node/group and product combination" + key => "The product key relevant to the aforementioned node/group and product combination", + comments => 'Any user-written notes.', + disable => "Set to 'yes' or '1' to comment out this row.", } }, chain => { @@ -681,6 +686,10 @@ my @nodeattrs = ( tabentry => 'bootparams.kcmdline', access_tabentry => 'bootparams.node=attr:node', }, + {attr_name => 'addkcmdline', + tabentry => 'bootparams.addkcmdline', + access_tabentry => 'bootparams.node=attr:node', + }, # Note that the serialport attr is actually defined down below # with the other serial* attrs from the nodehm table #{attr_name => 'serialport',