summaryrefslogtreecommitdiffstats
path: root/config-db/OpenSLX/AttributeRoster.pm
diff options
context:
space:
mode:
authorOliver Tappe2009-06-03 23:56:14 +0200
committerOliver Tappe2009-06-03 23:56:14 +0200
commitc44835d6a46e2febe548a522881f70254ad20db8 (patch)
treeff2b694c55d1e989fb267494a31b90ecc6b8d823 /config-db/OpenSLX/AttributeRoster.pm
parentnew modified themes, hopefully wirking with kdm4 (and kdm3) (diff)
downloadcore-c44835d6a46e2febe548a522881f70254ad20db8.tar.gz
core-c44835d6a46e2febe548a522881f70254ad20db8.tar.xz
core-c44835d6a46e2febe548a522881f70254ad20db8.zip
Refactored implementation of preboot evironment to support the creation
of several preboot media from a single preboot client: * added new client attribute preboot_media which holds the list of media that shall be created for that preboot client (currently, only 'cd' is known) * the boot_type value 'preboot_cd' has been renamed to 'preboot' * db-schema has been bumped to 0.36 to adjust the db-contents to the new expectations * adjusted config-demuxer accordingly git-svn-id: http://svn.openslx.org/svn/openslx/openslx/trunk@2929 95ad53e4-c205-0410-b2fa-d234c58c8868
Diffstat (limited to 'config-db/OpenSLX/AttributeRoster.pm')
-rw-r--r--config-db/OpenSLX/AttributeRoster.pm25
1 files changed, 20 insertions, 5 deletions
diff --git a/config-db/OpenSLX/AttributeRoster.pm b/config-db/OpenSLX/AttributeRoster.pm
index 3c359e82..89fe6577 100644
--- a/config-db/OpenSLX/AttributeRoster.pm
+++ b/config-db/OpenSLX/AttributeRoster.pm
@@ -67,12 +67,13 @@ sub _init
Currently the following boot types are supported:
pxe (is the default)
uses PXE to boot client over LAN
- preboot-cd
- generates a bootable CD-image that can be used to
- remotely boot the systems referred to by this client
+ preboot
+ generates a set of images (see preboot_media) that can
+ be used to remotely boot the systems referred to by
+ this client
End-of-Here
- content_regex => qr{^(pxe|preboot-cd)$},
- content_descr => '"pxe" or "preboot-cd"',
+ content_regex => qr{^(pxe|preboot)$},
+ content_descr => '"pxe" or "preboot"',
default => 'pxe',
},
'boot_uri' => {
@@ -126,6 +127,20 @@ sub _init
content_descr => 'kernel cmdline fragment',
default => '',
},
+ 'preboot_media' => {
+ applies_to_systems => 0,
+ applies_to_clients => 1,
+ description => unshiftHereDoc(<<' End-of-Here'),
+ List of preboot media supported by this client.
+ Currently the following preboot media are supported:
+ cd
+ generates a bootable CD-image that can be used to
+ remotely boot the systems referred to by this client
+ End-of-Here
+ content_regex => undef,
+ content_descr => undef,
+ default => '',
+ },
'ramfs_fsmods' => {
applies_to_systems => 1,
applies_to_clients => 0,