summaryrefslogtreecommitdiffstats
path: root/config-db
Commit message (Collapse)AuthorAgeFilesLines
* unicode deprecated, now sqlite_unicode is usedMichael Janczyk2010-05-181-1/+1
|
* added pbs stuffschmelzs2010-01-122-10/+31
|
* 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
* integrated firmware copy process into kernel module process, deleted unused ↵Alexander Hoppe2009-09-042-11/+0Star
| | | | | | attribute an function git-svn-id: http://svn.openslx.org/svn/openslx/openslx/trunk@3143 95ad53e4-c205-0410-b2fa-d234c58c8868
* changed default values in attributeRosterAlexander Hoppe2009-08-281-1/+1
| | | | git-svn-id: http://svn.openslx.org/svn/openslx/openslx/trunk@3138 95ad53e4-c205-0410-b2fa-d234c58c8868
* function for firmwares to be copied to /lib/firmware and attribute ↵Alexander Hoppe2009-08-262-0/+11
| | | | | | ramfs_firmmods git-svn-id: http://svn.openslx.org/svn/openslx/openslx/trunk@3133 95ad53e4-c205-0410-b2fa-d234c58c8868
* Having mkdosfs as busybox plugin now ...Dirk von Suchodoletz2009-08-111-2/+2
| | | | git-svn-id: http://svn.openslx.org/svn/openslx/openslx/trunk@3075 95ad53e4-c205-0410-b2fa-d234c58c8868
* Some experimental stuff (dont use yet) ...Dirk von Suchodoletz2009-08-112-0/+13
| | | | git-svn-id: http://svn.openslx.org/svn/openslx/openslx/trunk@3073 95ad53e4-c205-0410-b2fa-d234c58c8868
* * fixed sorting of plugins by name in findProblematicValues()Oliver Tappe2009-06-121-1/+3
| | | | git-svn-id: http://svn.openslx.org/svn/openslx/openslx/trunk@2955 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
* * removed debug-outputOliver Tappe2009-06-041-1/+0Star
| | | | git-svn-id: http://svn.openslx.org/svn/openslx/openslx/trunk@2931 95ad53e4-c205-0410-b2fa-d234c58c8868
* Refactored implementation of preboot evironment to support the creationOliver Tappe2009-06-033-11/+47
| | | | | | | | | | | | | | 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
* * pxe_prefix_ip supportSebastian Schmelzer2009-03-101-12/+27
| | | | | | | | | Usage: slxconfig change-system <system> pxe_prefix_ip=<ip> Result: sets <ip>:: prefixes for initramfs/kernel and if no boot_uri is set it adds file://<ip> to the pxe menu git-svn-id: http://svn.openslx.org/svn/openslx/openslx/trunk@2706 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
* * removed setting default values for attributes that do not exist anymoreOliver Tappe2009-01-281-31/+14Star
| | | | | | | (start_x and start_xdmcp) * cleanup in docs git-svn-id: http://svn.openslx.org/svn/openslx/openslx/trunk@2534 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
* * fixed potential warning about undefined value during DB-schema upgradeOliver Tappe2008-10-081-1/+1
| | | | git-svn-id: http://svn.openslx.org/svn/openslx/openslx/trunk@2270 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
* * wrestled client & system tests back into a working stateOliver Tappe2008-09-042-156/+26Star
| | | | git-svn-id: http://svn.openslx.org/svn/openslx/openslx/trunk@2207 95ad53e4-c205-0410-b2fa-d234c58c8868
* * removed default value for boot_type as that field no longer exists (itOliver Tappe2008-09-041-6/+0Star
| | | | | | now is an attribute with automatic default value) git-svn-id: http://svn.openslx.org/svn/openslx/openslx/trunk@2206 95ad53e4-c205-0410-b2fa-d234c58c8868
* * turned the client fields 'boot_type','unbootable' and 'kernel_params' as well Oliver Tappe2008-09-045-118/+211
| | | | | | | | as the system fields 'kernel_params' and 'hidden' into attributes * added client-only attribute 'boot_uri' which will soon be evaluated by the preboot-cd boot environment git-svn-id: http://svn.openslx.org/svn/openslx/openslx/trunk@2205 95ad53e4-c205-0410-b2fa-d234c58c8868
* * dropped no longer maintained old test tools from repoOliver Tappe2008-09-042-432/+0Star
| | | | git-svn-id: http://svn.openslx.org/svn/openslx/openslx/trunk@2202 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
* * slxconfig and slxos-plugin now treat the name 'default' as an alias forOliver Tappe2008-08-211-1/+4
| | | | | | '<<<default>>>', which spares us all unnecessary typing ;-) git-svn-id: http://svn.openslx.org/svn/openslx/openslx/trunk@2073 95ad53e4-c205-0410-b2fa-d234c58c8868
* * cleaned all attributes that are marked obsolete by ticket #243 and a coupleOliver Tappe2008-08-202-183/+89Star
| | | | | | | | | more (see #243 for the list) * added all non-plugin-attrs into the hash-value that is being used to determine changes to the set of attributes & plugins git-svn-id: http://svn.openslx.org/svn/openslx/openslx/trunk@2056 95ad53e4-c205-0410-b2fa-d234c58c8868
* git-svn-id: http://svn.openslx.org/svn/openslx/openslx/trunk@2048 ↵Oliver Tappe2008-08-182-2/+2
| | | | 95ad53e4-c205-0410-b2fa-d234c58c8868
* * fixed list-attributes command to support being given attribute names, tooOliver Tappe2008-08-071-7/+19
| | | | | | | | (instead of just attribute scopes) * corrected help text for list-attributes git-svn-id: http://svn.openslx.org/svn/openslx/openslx/trunk@1988 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
* Fixed two more problems exposed by mysql:Oliver Tappe2008-07-172-4/+8
| | | | | | | | * non-numeric IDs (like in the global_info table) were not handled properly * mysql needs to auto-reconnect to bypass problems related to forking while database connections are kept open git-svn-id: http://svn.openslx.org/svn/openslx/openslx/trunk@1934 95ad53e4-c205-0410-b2fa-d234c58c8868
* * fixed problem a least one database server (mysql) not being able to startOliver Tappe2008-07-171-5/+18
| | | | | | with an auto-increment value of 0 (for "<<<default>>>" entries) git-svn-id: http://svn.openslx.org/svn/openslx/openslx/trunk@1932 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
* * moved PXE-theming stuff into boot-env and adjusted the code to allow forOliver Tappe2008-06-071-8/+0Star
| | | | | | | | user specified PXE-themes, too (which shall live in /etc/opt/opeslx/boot-env/pxe/themes). * removed theming folder, since it is now obsolete git-svn-id: http://svn.openslx.org/svn/openslx/openslx/trunk@1851 95ad53e4-c205-0410-b2fa-d234c58c8868
* Implemented a better algorithm for keeping the plugins and the referencesOliver Tappe2008-06-033-9/+62
| | | | | | | | | | | to them (and their attributes) in the DB in sync: * The DB now keeps a hash-value for the list of known plugins and their attributes and checks this value against the current one on every connect. If the values do not match, the DB is brought up-to-date automatically (i.e. the attributes are synchronized with the systems, clients and groups). git-svn-id: http://svn.openslx.org/svn/openslx/openslx/trunk@1837 95ad53e4-c205-0410-b2fa-d234c58c8868