summaryrefslogtreecommitdiffstats
path: root/config-db
Commit message (Collapse)AuthorAgeFilesLines
* * Switched indent used in Perl-code and settings files from tabs to 4 spaces.Oliver Tappe2008-03-2025-6236/+6236
| | | | | | May need some manual corrections here and there, but should basically be ok. git-svn-id: http://svn.openslx.org/svn/openslx/openslx/trunk@1658 95ad53e4-c205-0410-b2fa-d234c58c8868
* * fixed several bugs with respect to the listing of plugins (as part of a systemOliver Tappe2008-03-191-7/+13
| | | | | | or vendor-OS) git-svn-id: http://svn.openslx.org/svn/openslx/openslx/trunk@1657 95ad53e4-c205-0410-b2fa-d234c58c8868
* * fixed incorrect behaviour with respect to merging of plugin attributes:Oliver Tappe2008-03-181-3/+4
| | | | | | | we need to push them over the attributes of the default-system, not merge them - reported by Michael git-svn-id: http://svn.openslx.org/svn/openslx/openslx/trunk@1653 95ad53e4-c205-0410-b2fa-d234c58c8868
* * removed debug outputOliver Tappe2008-03-171-2/+7
| | | | | | | | * fixed problem with respect to writing system attributes: do not filter unset attributes for the default-system, as we want that to show all existing attributes git-svn-id: http://svn.openslx.org/svn/openslx/openslx/trunk@1649 95ad53e4-c205-0410-b2fa-d234c58c8868
* * fixed several bugs in the config-demuxer caused by recent changes in pluginOliver Tappe2008-03-173-11/+37
| | | | | | | | | | | | | | | code (the way plugin info is returned from DB) * Added support to mergeDefaultAttributesIntoSystem() for merging in attributes that are stored in the installed plugins of the corresponding vendor-OS. The new order for system attribute selection is: 1. default client 2. specific system 3. vendor-OS (plugin attributes only) 4. default system git-svn-id: http://svn.openslx.org/svn/openslx/openslx/trunk@1648 95ad53e4-c205-0410-b2fa-d234c58c8868
* * added getStage3Attrs()Oliver Tappe2008-03-171-0/+28
| | | | git-svn-id: http://svn.openslx.org/svn/openslx/openslx/trunk@1645 95ad53e4-c205-0410-b2fa-d234c58c8868
* * adjusted to recent changes in plugin-codeOliver Tappe2008-03-171-9/+9
| | | | git-svn-id: http://svn.openslx.org/svn/openslx/openslx/trunk@1644 95ad53e4-c205-0410-b2fa-d234c58c8868
* * added support for stage1 attributes that are stored along each plugin ↵Oliver Tappe2008-03-144-20/+101
| | | | | | | | | installed into a vendor-OS. * an update of the slxos-plugin documentation is still missing (coming soon ;-) git-svn-id: http://svn.openslx.org/svn/openslx/openslx/trunk@1633 95ad53e4-c205-0410-b2fa-d234c58c8868
* Fix 'unterminated list at =head in paragraph' error of pod2html.Lars Müller2008-03-131-0/+1
| | | | git-svn-id: http://svn.openslx.org/svn/openslx/openslx/trunk@1630 95ad53e4-c205-0410-b2fa-d234c58c8868
* * implemented rsync-based build folder strategy for slxconfig-demuxer whichOliver Tappe2008-03-061-23/+30
| | | | | | | | | should improve compatibility with a chrooted tftpd * fixed bug that caused secondary slxconfig-demuxer instance to remove the lock file upon exit git-svn-id: http://svn.openslx.org/svn/openslx/openslx/trunk@1607 95ad53e4-c205-0410-b2fa-d234c58c8868
* * fixed potential use of uninitialized valueOliver Tappe2008-02-201-1/+2
| | | | git-svn-id: http://svn.openslx.org/svn/openslx/trunk@1564 95ad53e4-c205-0410-b2fa-d234c58c8868
* * correct implementation bug that caused last schema change to work only ↵Oliver Tappe2008-02-172-4/+13
| | | | | | | | | half-way: now we can install the default plugins into the default vendor-OS - leading to db schema version 0.28 git-svn-id: http://svn.openslx.org/svn/openslx/trunk@1557 95ad53e4-c205-0410-b2fa-d234c58c8868
* * added vendor-OS '<<<default>>>', which holds the plugins which shall beOliver Tappe2008-02-171-1/+15
| | | | | | | | installed automatically into every vendor-OS that is being generated. Currently, the only default-plugin is 'theme'. git-svn-id: http://svn.openslx.org/svn/openslx/trunk@1556 95ad53e4-c205-0410-b2fa-d234c58c8868
* Refactored call-out to plugins when making the initramfs:Oliver Tappe2008-02-161-21/+5Star
| | | | | | | | | | | | | | | | * The code for setting up the plugin in the initramfs has been moved into the plugin base, as this makes it possible for any plugin to override it (should the need ever arise). * The plugin scripts themselves are now being copied into the initramfs, instead of being part of the config-TGZ - they are static scripts, so there's no need to make them part of the config. Only the actual settings of each plugin are part of the config-TGZ now. * Cleaned up most accesses from plugins to private data of the makeInitRamFS- engine. I have tested with these changes with Ubuntu and Debian, and splashy still works for both, so it should be ok. git-svn-id: http://svn.openslx.org/svn/openslx/trunk@1551 95ad53e4-c205-0410-b2fa-d234c58c8868
* * hopefully finally fixed the utf8-related character problems in --manOliver Tappe2008-02-122-2/+2
| | | | git-svn-id: http://svn.openslx.org/svn/openslx/trunk@1539 95ad53e4-c205-0410-b2fa-d234c58c8868
* * implement support for letting the plugins suggest additional kernel_paramsOliver Tappe2008-02-101-0/+3
| | | | | | | | | * the theme plugin now suggests the use of the kernel-params 'vga=0x317' and 'quiet' unless they have already been set [these values should be moved into the DB later, such that the user can change them (i.e. to set a different resolution via vga=...)]. git-svn-id: http://svn.openslx.org/svn/openslx/trunk@1532 95ad53e4-c205-0410-b2fa-d234c58c8868
* * added renaming functionality that upgrades exports and systems that follow Oliver Tappe2008-02-101-1/+24
| | | | | | the old naming scheme (single colon) to the current one (double colon) git-svn-id: http://svn.openslx.org/svn/openslx/trunk@1530 95ad53e4-c205-0410-b2fa-d234c58c8868
* * fixed incorrect expectation in test (now there are 34 attributes insteadOliver Tappe2008-02-091-1/+1
| | | | | | of 35) git-svn-id: http://svn.openslx.org/svn/openslx/trunk@1529 95ad53e4-c205-0410-b2fa-d234c58c8868
* * dropped attribute ramfs_screen as it is no longer needed (splashy doesOliver Tappe2008-02-095-46/+24Star
| | | | | | | | | | not need to be given the screen-size) - updating schema version to 0.25 * little code simplification in DBSchema.pm * removed ramfs_screen from all tests * added method removeAttributeByName() to MetaDB in order to be able to remove attributes from the DB in a simple manner git-svn-id: http://svn.openslx.org/svn/openslx/trunk@1528 95ad53e4-c205-0410-b2fa-d234c58c8868
* * fixed commentOliver Tappe2008-02-091-1/+1
| | | | git-svn-id: http://svn.openslx.org/svn/openslx/trunk@1524 95ad53e4-c205-0410-b2fa-d234c58c8868
* * fixed potential use of undefined value (spotted by Michael)Oliver Tappe2008-02-091-39/+36Star
| | | | | | | * cmdline options are now collected in a hash instead of individual variables, as this is much clearer git-svn-id: http://svn.openslx.org/svn/openslx/trunk@1523 95ad53e4-c205-0410-b2fa-d234c58c8868
* * added support for show inherited attributes to the search actions, tooOliver Tappe2008-02-091-194/+160Star
| | | | | | | | | * cmdline options are now collected in a hash, not in individual variables, as this is much clearer * specifying --inherited now always activates --verbose (in order to actually show attributes) git-svn-id: http://svn.openslx.org/svn/openslx/trunk@1522 95ad53e4-c205-0410-b2fa-d234c58c8868
* * cleaned up the code a bit with respect to the handling of target systemsOliver Tappe2008-02-031-18/+29
| | | | | | | | | * clearified the output about which systems have been demuxed and which were just linked into the PXE menu * fixed incorrect counting of systems that had their configuration written * updated docs to current state git-svn-id: http://svn.openslx.org/svn/openslx/trunk@1514 95ad53e4-c205-0410-b2fa-d234c58c8868
* * the config-demuxer no longer writes the configurations for all systemsOliver Tappe2008-02-031-4/+11
| | | | | | | | if one or more specific targets have been given. Only target systems get their configuration written, their kernel copied and their initramfs generated. All other systems are just incorporated into the PXE menu. git-svn-id: http://svn.openslx.org/svn/openslx/trunk@1512 95ad53e4-c205-0410-b2fa-d234c58c8868
* * switched config-demuxer over to internal generation of initramfsOliver Tappe2008-02-021-84/+1Star
| | | | | | * obsoleted mkdxsinitrd git-svn-id: http://svn.openslx.org/svn/openslx/trunk@1511 95ad53e4-c205-0410-b2fa-d234c58c8868
* * fixed bugs that stopped new-style initramfs from workingOliver Tappe2008-02-021-2/+2
| | | | | | | | | * added support to new-style initramfs generator for integrating the active plugins into the initramfs With these fixes, I have been able to boot a cloned suse-10.2 into KDM with both bootsplash- and displaymanager-theme working. git-svn-id: http://svn.openslx.org/svn/openslx/trunk@1510 95ad53e4-c205-0410-b2fa-d234c58c8868
* * added support for creating only the initramfs for the systems thatOliver Tappe2008-02-021-20/+57
| | | | | | | | | | | | have been given on the cmdline (the demuxing will still be done for all systems). * as a result of this, the generated initramfs-files now contain the id of the system as part of their name instead of a per-vendor-OS counter - the latter has become cumbersome now that we no longer generate all initramfs in every run. git-svn-id: http://svn.openslx.org/svn/openslx/trunk@1509 95ad53e4-c205-0410-b2fa-d234c58c8868
* * finished initial re-implementation of mkdxsinitrd in perl -Oliver Tappe2008-02-011-12/+30
| | | | | | there's still stuff missing and it has not been tested, either git-svn-id: http://svn.openslx.org/svn/openslx/trunk@1508 95ad53e4-c205-0410-b2fa-d234c58c8868
* * removed debugging outputOliver Tappe2008-01-271-1/+0Star
| | | | git-svn-id: http://svn.openslx.org/svn/openslx/trunk@1501 95ad53e4-c205-0410-b2fa-d234c58c8868
* Hopefully finished the adjustments of the tools with respect to themeOliver Tappe2008-01-274-17/+51
| | | | | | | | | | | | | | | | | | naming and other recent discussions of user interface. * adjusted and simplified code to the fact that plugins are now named in all lowercase * slxos-plugin --verbose list now shows description for each plugin and a list of supported attributes * fixed some outstanding issues with respect to lowercasing of plugin names * Separated theme::name into theme::splash, theme::displaymanager and theme::desktop, leading to DB-schema 0.24. Please note that although these attributes exist, currently only theme::splash is being used (the new ones will be used by the reimplemented mkdxsinitrd) * moved some information gathering from OSPlugin::Engine into OSPlugin::Roster, where it belongs git-svn-id: http://svn.openslx.org/svn/openslx/trunk@1500 95ad53e4-c205-0410-b2fa-d234c58c8868
* * fixed bug that left orphaned installed_plugins when removing a vendor-OSOliver Tappe2008-01-271-0/+9
| | | | git-svn-id: http://svn.openslx.org/svn/openslx/trunk@1499 95ad53e4-c205-0410-b2fa-d234c58c8868
* adjusted following the recent discussion on the devel list:Oliver Tappe2008-01-261-21/+59
| | | | | | | | | | | | * list-attr now defaults to a tight listing of the known attributes (you can request the full info via --verbose) * list-attr now supports selecting only the attributes for a specific scope * list-system and list-client can now be instructed to show the inherited attributes, too (via --inherited), along with the info where each attribute has been inherited from. git-svn-id: http://svn.openslx.org/svn/openslx/trunk@1496 95ad53e4-c205-0410-b2fa-d234c58c8868
* * added support to getAttrInfo() for selecting only the attributesOliver Tappe2008-01-261-5/+20
| | | | | | matching a given scope (where 'core' means no scope) git-svn-id: http://svn.openslx.org/svn/openslx/trunk@1495 95ad53e4-c205-0410-b2fa-d234c58c8868
* * corrected commentOliver Tappe2008-01-261-1/+1
| | | | git-svn-id: http://svn.openslx.org/svn/openslx/trunk@1494 95ad53e4-c205-0410-b2fa-d234c58c8868
* * added support to the merging functions for keeping track of the each Oliver Tappe2008-01-261-12/+24
| | | | | | attribute value's origin git-svn-id: http://svn.openslx.org/svn/openslx/trunk@1493 95ad53e4-c205-0410-b2fa-d234c58c8868
* * extract debug-level from kernel_params and add pass itOliver Tappe2008-01-221-0/+6
| | | | | | to MakeInitramFS::Engine git-svn-id: http://svn.openslx.org/svn/openslx/trunk@1484 95ad53e4-c205-0410-b2fa-d234c58c8868
* * it is now possible to cause slxconfig-demuxer to use theOliver Tappe2008-01-161-11/+53
| | | | | | | new, internal code for generating the initialramfs (option --makeinitramfs) git-svn-id: http://svn.openslx.org/svn/openslx/trunk@1480 95ad53e4-c205-0410-b2fa-d234c58c8868
* * fixed problems in AttributeRoster with respect to syntaxOliver Tappe2008-01-162-354/+368
| | | | | | | checking (perl -cw) git-svn-id: http://svn.openslx.org/svn/openslx/trunk@1476 95ad53e4-c205-0410-b2fa-d234c58c8868
* * the config-demuxer now passes through theme::name to mkdxsinitrd (via -s)Oliver Tappe2008-01-141-1/+4
| | | | | | | | | | | | * set default for theme::name to 'openslx' such that our theme is now automatically active for all systems that have the 'Theme' plugin active. I tested setting theme::name to something else (in my case: openSUSE), copied the required theme-files to /opt/openslx/share/themes and it worked as expected (a.k.a the bootsplash showed the new theme). git-svn-id: http://svn.openslx.org/svn/openslx/trunk@1474 95ad53e4-c205-0410-b2fa-d234c58c8868
* reimplemented splashy stuff via Theme plugin:Oliver Tappe2008-01-131-15/+23
| | | | | | | | | | | | | | | | | | | | | | | | * activated invocation of init-hooks * removed explicit splashy calls from init (they are now done in several init-hooks provided by the Theme plugin) * the stage3 plugins are now invoked via '.' instead via a separate shell, such that they can export changed environment variables * changed invocation of initial_boot() - we now pass in the list of initscripts as otherwise I have been unable to let this function access a changed D_INITSCRIPTS variable (it would only see initial content) * moved invocation of initial_boot from servconfig to init (again such that a changed D_INITSCRIPTS will be handled correctly) * config-demuxer now passes the active plugins into mkdxsinitrd * mkdxsinitrd accepts a list of active plugins (-p) and copies the hooks directly into the initialramfs, such that they are available immediately in stage3 The bootsplash stuff (splashy) seems to work properly, but the handling of displaymanager themes is currently broken. I will look into that tomorrow. git-svn-id: http://svn.openslx.org/svn/openslx/trunk@1472 95ad53e4-c205-0410-b2fa-d234c58c8868
* * avoid possible warnings about undefined values in regex-substitutionOliver Tappe2008-01-121-3/+5
| | | | | | (fixed the second incarnation of this bug, too) git-svn-id: http://svn.openslx.org/svn/openslx/trunk@1471 95ad53e4-c205-0410-b2fa-d234c58c8868
* * avoid possible warnings about undefined values in regex-substitutionOliver Tappe2008-01-121-4/+5
| | | | git-svn-id: http://svn.openslx.org/svn/openslx/trunk@1470 95ad53e4-c205-0410-b2fa-d234c58c8868
* * fixed encoding problem with script-internal default PXE-templateOliver Tappe2008-01-121-9/+11
| | | | git-svn-id: http://svn.openslx.org/svn/openslx/trunk@1469 95ad53e4-c205-0410-b2fa-d234c58c8868
* * fixed 'uninitialized value' warningOliver Tappe2008-01-121-4/+6
| | | | git-svn-id: http://svn.openslx.org/svn/openslx/trunk@1468 95ad53e4-c205-0410-b2fa-d234c58c8868
* * added hook mechanism to initramfs-init which can be used by pluginsOliver Tappe2008-01-111-2/+0Star
| | | | | | | | | | | to trigger execution of their own script at a certain point in the initramfs-init execution path. This is not active yet * added basic implementation outline for Theme (a.k.a splash) plugin - unable to test anything, though, as VMware does not seem to provide a VESA framebuffer, so splashy won't run git-svn-id: http://svn.openslx.org/svn/openslx/trunk@1466 95ad53e4-c205-0410-b2fa-d234c58c8868
* * added TODO about lacking performance of set...Attrs()Oliver Tappe2008-01-111-0/+3
| | | | git-svn-id: http://svn.openslx.org/svn/openslx/trunk@1465 95ad53e4-c205-0410-b2fa-d234c58c8868
* * fixed bug where changing an attribute of a client or system would dropOliver Tappe2008-01-113-7/+70
| | | | | | | | | | all other (pre-existing) attributes * now detailed info about the active plugins are shown when listing a system * the default attributes of the plugins are now synchronized against the default system whenever a plugin is installed into a vendor-OS (otherwise, the respective plugin would not be activated automatically) git-svn-id: http://svn.openslx.org/svn/openslx/trunk@1464 95ad53e4-c205-0410-b2fa-d234c58c8868
* * fixed encoding problem of PXE-config file outputOliver Tappe2008-01-111-4/+3Star
| | | | git-svn-id: http://svn.openslx.org/svn/openslx/trunk@1463 95ad53e4-c205-0410-b2fa-d234c58c8868
* * oops, remove debug output :-/Oliver Tappe2008-01-111-2/+0Star
| | | | git-svn-id: http://svn.openslx.org/svn/openslx/trunk@1462 95ad53e4-c205-0410-b2fa-d234c58c8868
* * added support to the config-demuxer for PXE-theming, i.e. it will lookOliver Tappe2008-01-111-6/+31
| | | | | | | | | | | | | | | | | | | | at the contents of the 'pxe-theme' setting and then try to activate the PXE-theme with the given name. That includes these actions: - an optional template is still loaded and the PXE theme config file is appended to it (such that the theme configuration overrides and/or extends the general PXE-template) - the last background picture referenced by the PXE configuration is copied to the target folder - the menu margin is set according to the 'pxe-theme-menu-margin' setting - any separator lines are rendered as appropriate for the given margin - if any system has a description, it is formatted as appriopriate for the given margin and added to the PXE menu as a TEXT HELP block The whole setup seems to work properly, except for a charset conversion bug concerning the data that has come from the DB (label and description) Thanks go to Michael for his great work on the PXE theme! git-svn-id: http://svn.openslx.org/svn/openslx/trunk@1461 95ad53e4-c205-0410-b2fa-d234c58c8868