summaryrefslogtreecommitdiffstats
path: root/config-db/slxconfig-demuxer
Commit message (Collapse)AuthorAgeFilesLines
* change dir structureSebastian Schmelzer2010-09-021-918/+0Star
|
* added pbs stuffschmelzs2010-01-121-9/+18
|
* default directories introduced. please test and say what you think. examples ↵Michael Janczyk2009-10-231-1/+0Star
| | | | | | see plugins vmware and vmchooser. can be simplyfied further (VIRTDIR, ETC...). /opt/openslx can bu user for plugins, ect as well (maybe PLUGINDIR?). git-svn-id: http://svn.openslx.org/svn/openslx/openslx/trunk@3177 95ad53e4-c205-0410-b2fa-d234c58c8868
* Closing #461:Oliver Tappe2009-06-121-1/+8
| | | | | | | | | | | * The creation of the default.tgz (containing the system's defaults) must not be intermixed with creation of individual clients' config archive, as any client's individual attributes could pollute the default.tgz of the next boot environment. Instead, we now have two seperate loops: one for the default settings and another one for the settings of the individual clients git-svn-id: http://svn.openslx.org/svn/openslx/openslx/trunk@2954 95ad53e4-c205-0410-b2fa-d234c58c8868
* Refactored implementation of preboot evironment to support the creationOliver Tappe2009-06-031-5/+9
| | | | | | | | | | | | | | 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
* typo ..Sebastian Schmelzer2009-05-201-1/+1
| | | | git-svn-id: http://svn.openslx.org/svn/openslx/openslx/trunk@2863 95ad53e4-c205-0410-b2fa-d234c58c8868
* name preboot "default.tgz" after client nameSebastian Schmelzer2009-05-201-4/+18
| | | | git-svn-id: http://svn.openslx.org/svn/openslx/openslx/trunk@2862 95ad53e4-c205-0410-b2fa-d234c58c8868
* * minor fix: skip check for uclibrootfs-version if slxversion producesOliver Tappe2009-03-311-1/+1
| | | | | | | | | a modified version (something ending in 'M'), since that usually indicates local development taking place - let's hope this does not hide any problems ... git-svn-id: http://svn.openslx.org/svn/openslx/openslx/trunk@2774 95ad53e4-c205-0410-b2fa-d234c58c8868
* * do not fail if version info file for uclib-rootfs could not beOliver Tappe2009-03-091-2/+3
| | | | | | found in vendor-OS git-svn-id: http://svn.openslx.org/svn/openslx/openslx/trunk@2696 95ad53e4-c205-0410-b2fa-d234c58c8868
* closing #393:Oliver Tappe2009-03-061-0/+14
| | | | | | | | * added check to config demuxer that will print a warning if the slxversions of the uclibc-rootfs of a vendor-OS does not match the current one git-svn-id: http://svn.openslx.org/svn/openslx/openslx/trunk@2695 95ad53e4-c205-0410-b2fa-d234c58c8868
* * improved support for plugin configurations such that it should now be possibleOliver Tappe2009-02-111-12/+33
| | | | | | | | | | for a client to activate a plugin that has been installed in a vendor-OS, but which is specified as inactive by the corresponding system. In such a case the demuxer will print out an appropriate message and will cause the boot environment to consider that plugin during generation of the initramfs, too. git-svn-id: http://svn.openslx.org/svn/openslx/openslx/trunk@2574 95ad53e4-c205-0410-b2fa-d234c58c8868
* * fixed a bug that caused the plugin-conf directory to be created onlyOliver Tappe2009-02-071-8/+10
| | | | | | | | once, not for every client (which is required since the build path for configs is cleansed for every configuration) * improved a couple of comments git-svn-id: http://svn.openslx.org/svn/openslx/openslx/trunk@2571 95ad53e4-c205-0410-b2fa-d234c58c8868
* * Fixed TODO introduced by Sebastian: we generated completely bogus contentsOliver Tappe2009-02-031-15/+15
| | | | | | | | | | | of default.tgz if more than one boot-env was active. Now we generate default.tgz at the right moment and additionally ask each boot environment if the default client configuration is required at all (which is not the case for preboot environments, since they will always have at least one specific client, which is being used for booting) * minor cleanup git-svn-id: http://svn.openslx.org/svn/openslx/openslx/trunk@2568 95ad53e4-c205-0410-b2fa-d234c58c8868
* * quick fix for problems with multiple bootEnvTypesSebastian Schmelzer2009-02-031-7/+11
| | | | git-svn-id: http://svn.openslx.org/svn/openslx/openslx/trunk@2564 95ad53e4-c205-0410-b2fa-d234c58c8868
* * in case of error during creation of bootmenu files, the demuxer no longerOliver Tappe2009-01-281-3/+20
| | | | | | | stops, but catches the exception and continues to run, showing any errors in the final summary git-svn-id: http://svn.openslx.org/svn/openslx/openslx/trunk@2538 95ad53e4-c205-0410-b2fa-d234c58c8868
* * refactored common stuff from PrebootCD into Preboot, as there will be otherOliver Tappe2009-01-281-1/+5
| | | | | | | variants, later (like PrebootDisk, etc.) * adjusted naming to follow our style better (no more all-caps) git-svn-id: http://svn.openslx.org/svn/openslx/openslx/trunk@2535 95ad53e4-c205-0410-b2fa-d234c58c8868
* * two more fixes to adjust to boot_type being an attribute instead of aOliver Tappe2009-01-231-2/+2
| | | | | | straight field, now git-svn-id: http://svn.openslx.org/svn/openslx/openslx/trunk@2522 95ad53e4-c205-0410-b2fa-d234c58c8868
* * fixed wrong access to 'boot_type' attribute of clients, such that theOliver Tappe2009-01-231-1/+1
| | | | | | config-demuxer now at least tries to build preboot-cd images git-svn-id: http://svn.openslx.org/svn/openslx/openslx/trunk@2519 95ad53e4-c205-0410-b2fa-d234c58c8868
* * improved name of lock used by slxconfig-demuxerOliver Tappe2008-09-131-2/+2
| | | | git-svn-id: http://svn.openslx.org/svn/openslx/openslx/trunk@2214 95ad53e4-c205-0410-b2fa-d234c58c8868
* * implemented support for recursive file-based locksOliver Tappe2008-09-131-42/+2Star
| | | | | | | | | * used improved locking mechanism to protect not only slxconfig-demuxer against being executed twice, but also to avoid two different process groups from chrooting into the same vendor-OS git-svn-id: http://svn.openslx.org/svn/openslx/openslx/trunk@2213 95ad53e4-c205-0410-b2fa-d234c58c8868
* * implemented PREBOOT_CD boot environment that creates an appropriate ISO imageOliver Tappe2008-09-011-5/+4Star
| | | | git-svn-id: http://svn.openslx.org/svn/openslx/openslx/trunk@2181 95ad53e4-c205-0410-b2fa-d234c58c8868
* * minor correction regarding the initramfs countOliver Tappe2008-08-311-2/+1Star
| | | | git-svn-id: http://svn.openslx.org/svn/openslx/openslx/trunk@2164 95ad53e4-c205-0410-b2fa-d234c58c8868
* * write client config only to boot environment that matches the client, not ↵Oliver Tappe2008-08-311-12/+13
| | | | | | | | to all boot environments git-svn-id: http://svn.openslx.org/svn/openslx/openslx/trunk@2161 95ad53e4-c205-0410-b2fa-d234c58c8868
* * refactored slxconfig-demuxer and boot environment implementations such that Oliver Tappe2008-08-311-67/+62Star
| | | | | | | demuxing to more than a single boot environment is supported now * renamed boot environment CD to PREBOOT_CD git-svn-id: http://svn.openslx.org/svn/openslx/openslx/trunk@2160 95ad53e4-c205-0410-b2fa-d234c58c8868
* * refactored more boot-environment-specific stuff out of slxconfig-demuxer intoOliver Tappe2008-08-271-69/+27Star
| | | | | | | the corresponding class (OpenSLX::BootEnvironment::PXE) - should not cause any functional changes yet git-svn-id: http://svn.openslx.org/svn/openslx/openslx/trunk@2110 95ad53e4-c205-0410-b2fa-d234c58c8868
* git-svn-id: http://svn.openslx.org/svn/openslx/openslx/trunk@2048 ↵Oliver Tappe2008-08-181-1/+1
| | | | 95ad53e4-c205-0410-b2fa-d234c58c8868
* implemented plugin dependency handling:Oliver Tappe2008-07-231-1/+18
| | | | | | | | | | | | | | | | * installing a plugin into a vendor-OS is now only possible when required plugins are already installed * removing a plugin from a vendor-OS is now only possible when now plugins that depend on this one are still installed * the config-demuxer will check the plugin depedency hierarchy and bail if any plugin is missing * when several plugins are being auto-installed (e.g. when copying all plugins from the '<<<default>>>' vendor-OS) the order of the plugins is adjusted to comply with the dependency hierarchy * declared one single dependency: vmchooser depends on vmware (please shout if that is incorrect) git-svn-id: http://svn.openslx.org/svn/openslx/openslx/trunk@1936 95ad53e4-c205-0410-b2fa-d234c58c8868
* * refactored locking file to make use of ScopedResourceOliver Tappe2008-06-081-49/+41Star
| | | | git-svn-id: http://svn.openslx.org/svn/openslx/openslx/trunk@1867 95ad53e4-c205-0410-b2fa-d234c58c8868
* * since I regularly got irritated by slxconfig-demuxer saying something aboutOliver Tappe2008-06-081-1/+3
| | | | | | | 'errors' (usually meaning that there weren't any) I have changed the success message to 'all systems ok' git-svn-id: http://svn.openslx.org/svn/openslx/openslx/trunk@1865 95ad53e4-c205-0410-b2fa-d234c58c8868
* preparations to support cdboot as a second boot type for clientsOliver Tappe2008-05-281-143/+50Star
| | | | | | | | * refactored PXE specific stuff out of slxconfig-demuxer and moved it into a separate class (OpenSLX::BootEnvironment::PXE) git-svn-id: http://svn.openslx.org/svn/openslx/openslx/trunk@1809 95ad53e4-c205-0410-b2fa-d234c58c8868
* * heavily redesigned and improved the checking of attributes: instead of dyingOliver Tappe2008-05-241-16/+16
| | | | | | | | | | | on the first error, we now collect all errors and return them. The caller can now decide what to do - die or just print a warning or whatever. * slxconfig now dies with the list of all attribute problems if there were any * slxconfig-demuxer prints warnings for all attribute problems that were found (checking for each system & client in turn) * adjusted desktop plugin to API changes concerning the attribute checks git-svn-id: http://svn.openslx.org/svn/openslx/openslx/trunk@1796 95ad53e4-c205-0410-b2fa-d234c58c8868
* * added checking of system attributes, too (before only clients were checked)Oliver Tappe2008-05-241-1/+12
| | | | | | * minor cleanup of output format when complaining about problematic attribute values git-svn-id: http://svn.openslx.org/svn/openslx/openslx/trunk@1792 95ad53e4-c205-0410-b2fa-d234c58c8868
* * added checking of attributes for every client & system before its ↵Oliver Tappe2008-05-241-0/+10
| | | | | | | | attributes are being written to a configuration file - any problems are reported as warnings git-svn-id: http://svn.openslx.org/svn/openslx/openslx/trunk@1790 95ad53e4-c205-0410-b2fa-d234c58c8868
* * use Clone::clone instead of Storable::dclone throughout OpenSLX in order ↵Oliver Tappe2008-05-221-2/+2
| | | | | | | | | | to use the same cloning function everywhere * added check for Clone module to Makefile git-svn-id: http://svn.openslx.org/svn/openslx/openslx/trunk@1784 95ad53e4-c205-0410-b2fa-d234c58c8868
* * renamed --verbose-level to --log-level to make it more separate from ↵Oliver Tappe2008-04-071-3/+3
| | | | | | --verbose. git-svn-id: http://svn.openslx.org/svn/openslx/openslx/trunk@1729 95ad53e4-c205-0410-b2fa-d234c58c8868
* * Switched indent used in Perl-code and settings files from tabs to 4 spaces.Oliver Tappe2008-03-201-592/+592
| | | | | | 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 in the config-demuxer caused by recent changes in pluginOliver Tappe2008-03-171-3/+8
| | | | | | | | | | | | | | | 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
* 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
* 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-121-1/+1
| | | | 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
* * 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
* * 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