summaryrefslogtreecommitdiffstats
path: root/config-db/OpenSLX/DBSchema.pm
diff options
context:
space:
mode:
authorOliver Tappe2006-10-29 18:27:06 +0100
committerOliver Tappe2006-10-29 18:27:06 +0100
commit41c709db08c33cb43debf02c23726adda810448a (patch)
treeaeb8136397a800e0b9407569d724c4b5d9624435 /config-db/OpenSLX/DBSchema.pm
parentCleanup, minor fix, formatting, comments, ... (diff)
downloadcore-41c709db08c33cb43debf02c23726adda810448a.tar.gz
core-41c709db08c33cb43debf02c23726adda810448a.tar.xz
core-41c709db08c33cb43debf02c23726adda810448a.zip
* added support for new table 'settings', which contains
the system-wide settings. git-svn-id: http://svn.openslx.org/svn/openslx/trunk@489 95ad53e4-c205-0410-b2fa-d234c58c8868
Diffstat (limited to 'config-db/OpenSLX/DBSchema.pm')
-rw-r--r--config-db/OpenSLX/DBSchema.pm20
1 files changed, 20 insertions, 0 deletions
diff --git a/config-db/OpenSLX/DBSchema.pm b/config-db/OpenSLX/DBSchema.pm
index df20d810..d88029c3 100644
--- a/config-db/OpenSLX/DBSchema.pm
+++ b/config-db/OpenSLX/DBSchema.pm
@@ -156,6 +156,14 @@ $DbSchema = {
'group_id:fk', # foreign key
'system_id:fk', # foreign key
],
+ 'settings' => [
+ # system-wide settings
+ 'use_absolute_tftp:b',
+ # whether or not the TFTP-server requires the
+ # use of absolute path names
+ 'default_nicmods:s.256',
+ # list of default network modules
+ ],
},
};
@@ -255,6 +263,18 @@ $DbSchema = {
'table' => 'group_system_ref',
'cols' => $DbSchema->{'tables'}->{'group_system_ref'},
},
+ {
+ 'cmd' => 'add-table',
+ 'table' => 'settings',
+ 'cols' => $DbSchema->{'tables'}->{'settings'},
+ 'vals' => [
+ { # add default configuration
+ 'use_absolute_tftp' => '0',
+ 'default_nicmods'
+ => 'forcedeth e1000 e100 tg3 via-rhine r8169 pcnet32',
+ },
+ ],
+ },
],
);