summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* preparations to support cdboot as a second boot type for clientsOliver Tappe2008-05-284-143/+284
| | | | | | | | * 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
* * cosmetics: print filename of kernel instead of full path in warning that is Oliver Tappe2008-05-281-1/+2
| | | | | | shown when a kernel is being picked automatically git-svn-id: http://svn.openslx.org/svn/openslx/openslx/trunk@1808 95ad53e4-c205-0410-b2fa-d234c58c8868
* * when checking the attributes from within the config-demuxer, we no longer ↵Oliver Tappe2008-05-281-0/+5
| | | | | | | | complain about attributes that belong to plugins which are not installed anyway git-svn-id: http://svn.openslx.org/svn/openslx/openslx/trunk@1807 95ad53e4-c205-0410-b2fa-d234c58c8868
* * make sure the local themes directory exists whenever this plugin is beingOliver Tappe2008-05-281-0/+3
| | | | | | instantiated git-svn-id: http://svn.openslx.org/svn/openslx/openslx/trunk@1806 95ad53e4-c205-0410-b2fa-d234c58c8868
* * refactored code for synchronization of attributes (moved from DBSchema to ↵Oliver Tappe2008-05-274-60/+225
| | | | | | | | | | | | ConfigDB) * When doing synchronization of attributes during a schema update, we now look for any stale attributes in system_attr, client_attr, group_attr or installed_plugin_attr and remove all those stale attributes automatically. Additionally, non-existent plugins that are still installed in a vendorOS are removed from that, too. * Updated DB-Schema to 0.31 in order to trigger this automatic cleaning process git-svn-id: http://svn.openslx.org/svn/openslx/openslx/trunk@1805 95ad53e4-c205-0410-b2fa-d234c58c8868
* * added support to user provided themes (should live in ↵Oliver Tappe2008-05-261-11/+46
| | | | | | | | | | /etc/opt/openslx/desktop/themes) * implemented automatic detection of available themes if desktop::supported_themes is unset (which is now the default) git-svn-id: http://svn.openslx.org/svn/openslx/openslx/trunk@1804 95ad53e4-c205-0410-b2fa-d234c58c8868
* * reworked plugin-API concerning the way the parameters are passed into Oliver Tappe2008-05-268-204/+238
| | | | | | | | | | | installationPhase() and removalPhase() - now we use a hash as the amount of parameters has become too large * adjusted all plugins to these API change * now not only the openslx base path, but the openslx config path is bind mounted into the vendor-OS chroot, such that plugins can check the available local configuration extensions git-svn-id: http://svn.openslx.org/svn/openslx/openslx/trunk@1803 95ad53e4-c205-0410-b2fa-d234c58c8868
* Fixed non-working installation & deinstallation of plugins into/from the ↵Oliver Tappe2008-05-262-25/+33
| | | | | | | | | | | | '<<<default>>>'-vendorOS: * OSPlugin::Engine was trying to create an OSSetup::Engine for the default-vendorOS, which does not work. Now such the OSSetup::Engine is initialized lazily (i.e. when it is being used) * fixed a bug in OSSetup::Engine that caused it to think that it was installing plugins afresh when in fact it they were reinstalled git-svn-id: http://svn.openslx.org/svn/openslx/openslx/trunk@1802 95ad53e4-c205-0410-b2fa-d234c58c8868
* * fixed bug that would not allow setting an empty attribute to '0'Oliver Tappe2008-05-251-1/+3
| | | | git-svn-id: http://svn.openslx.org/svn/openslx/openslx/trunk@1801 95ad53e4-c205-0410-b2fa-d234c58c8868
* * fixed problem in module loading code that under some circumstances led to ↵Oliver Tappe2008-05-251-7/+6Star
| | | | | | | | | modules being loaded several times (which in turn produced warnings about functions being redefined) git-svn-id: http://svn.openslx.org/svn/openslx/openslx/trunk@1800 95ad53e4-c205-0410-b2fa-d234c58c8868
* stupid is as stupid does or murphys lawVolker Uhrig2008-05-244-4/+4
| | | | | | | | | | | * fix of a fix of a fix of a ... * should work now for suse systems * suse 10.2 tested with success * dhcpd needs to get optimized * runlevelscript for gentooanddebian'ish distros aren't tested yet git-svn-id: http://svn.openslx.org/svn/openslx/openslx/trunk@1799 95ad53e4-c205-0410-b2fa-d234c58c8868
* * back to revision 1793...Volker Uhrig2008-05-241-306/+306
| | | | git-svn-id: http://svn.openslx.org/svn/openslx/openslx/trunk@1798 95ad53e4-c205-0410-b2fa-d234c58c8868
* * what did i forgot to commit?Volker Uhrig2008-05-241-306/+306
| | | | git-svn-id: http://svn.openslx.org/svn/openslx/openslx/trunk@1797 95ad53e4-c205-0410-b2fa-d234c58c8868
* * heavily redesigned and improved the checking of attributes: instead of dyingOliver Tappe2008-05-246-62/+121
| | | | | | | | | | | 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
* * fixed a problem with a failing child process passing the death gate by ↵Oliver Tappe2008-05-241-7/+8
| | | | | | | | | throwing - this resulted in the seemingly weirdest behaviour of the config-demuxer (which was actually the child process trying to demux from within the chroot) git-svn-id: http://svn.openslx.org/svn/openslx/openslx/trunk@1795 95ad53e4-c205-0410-b2fa-d234c58c8868
* * minor bugfixVolker Uhrig2008-05-242-6/+4Star
| | | | git-svn-id: http://svn.openslx.org/svn/openslx/openslx/trunk@1794 95ad53e4-c205-0410-b2fa-d234c58c8868
* * fixed problems with local installed version raised through vmpl2.0Volker Uhrig2008-05-245-98/+78Star
| | | | | | | | | | | | | integration. local should work now. at least it passed tests with suse 10.2 * integration with vmchooser is still missing on side of vmchooser plugin. You can use it with a proper formed xml file: /var/X11R6/bin/run/run-vmware.sh /path/to/xml/xmlfile.xml * vmpl2.0 isn't usable yet. * small bugfixes and nicer output of runvmware git-svn-id: http://svn.openslx.org/svn/openslx/openslx/trunk@1793 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
* * make sure to remove all warning- and error-indicator strings already containedOliver Tappe2008-05-241-2/+2
| | | | | | in message before adding a new one git-svn-id: http://svn.openslx.org/svn/openslx/openslx/trunk@1791 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
* * implemented checking of attributes for groups and clients in slxconfigOliver Tappe2008-05-243-5/+23
| | | | git-svn-id: http://svn.openslx.org/svn/openslx/openslx/trunk@1789 95ad53e4-c205-0410-b2fa-d234c58c8868
* * artifically bumped the schema version to 0.30 in order to trigger a ↵Oliver Tappe2008-05-241-1/+10
| | | | | | | | synchronization of attributes into default system (required since plugins were added & removed) git-svn-id: http://svn.openslx.org/svn/openslx/openslx/trunk@1788 95ad53e4-c205-0410-b2fa-d234c58c8868
* * fixed bug introduced recently that would cause attributes of default system toOliver Tappe2008-05-241-1/+3
| | | | | | | never be removed (which in turn messes up the automatic synchronization of attributes into the default system) git-svn-id: http://svn.openslx.org/svn/openslx/openslx/trunk@1787 95ad53e4-c205-0410-b2fa-d234c58c8868
* * changed warning indicator from '°°°' to '! ' in order to avoid ↵Oliver Tappe2008-05-241-2/+2
| | | | | | | | possible charset encoding problems ('°' is non-ascii) git-svn-id: http://svn.openslx.org/svn/openslx/openslx/trunk@1786 95ad53e4-c205-0410-b2fa-d234c58c8868
* * fixed font problemVolker Uhrig2008-05-232-20/+39
| | | | | | | * raised next step/problem: location of the EULA.txt git-svn-id: http://svn.openslx.org/svn/openslx/openslx/trunk@1785 95ad53e4-c205-0410-b2fa-d234c58c8868
* * use Clone::clone instead of Storable::dclone throughout OpenSLX in order ↵Oliver Tappe2008-05-224-11/+11
| | | | | | | | | | 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
* * attributes set via slxconfig are now being checked not only against the ↵Oliver Tappe2008-05-226-57/+247
| | | | | | | | | | | | | | respective regex, but the corresponding plugin is being invoked to do a check of its own, too (where it has the chance to look at the vendor-OS attributes and determine the possible stage3-values from their state). * listing a vendor-OS in verbose mode now shows the vendor-OS attributes (stage1 & stage3), too * used Clone::clone instead of Storable::dclone since the latter is not capable of cloning compiled regexes git-svn-id: http://svn.openslx.org/svn/openslx/openslx/trunk@1783 95ad53e4-c205-0410-b2fa-d234c58c8868
* * supress lib error while giving vmware its own font configVolker Uhrig2008-05-221-0/+1
| | | | | | | | * result: font isn't readable. need to get fixed. * also: commit needs to get tested against vmkind=local git-svn-id: http://svn.openslx.org/svn/openslx/openslx/trunk@1782 95ad53e4-c205-0410-b2fa-d234c58c8868
* * removed problem with gtkVolker Uhrig2008-05-222-1/+7
| | | | | | | * new problem: fonts.conf / gtk / gtk librarys / font librarys git-svn-id: http://svn.openslx.org/svn/openslx/openslx/trunk@1781 95ad53e4-c205-0410-b2fa-d234c58c8868
* Removing obsolete plugin desktopmanager, next step would be to test the ↵Michael Janczyk2008-05-213-231/+0Star
| | | | | | desktop plugin and remove the theme plugin afterwards. The theming directory is obsolete as well, so the pxe theme could be moved somewhere else and the rest can be removed. git-svn-id: http://svn.openslx.org/svn/openslx/openslx/trunk@1780 95ad53e4-c205-0410-b2fa-d234c58c8868
* * fixed bug in slxconfig introduced yesterday that would not allow settingOliver Tappe2008-05-213-28/+46
| | | | | | any attribute that has not come from a plugin (reported by Reiner) git-svn-id: http://svn.openslx.org/svn/openslx/openslx/trunk@1779 95ad53e4-c205-0410-b2fa-d234c58c8868
* * added support to slxconfig for checking the given attribute values againstOliver Tappe2008-05-202-2/+45
| | | | | | | their respective regex, an appropriate complaint is shown if the value doesn't match git-svn-id: http://svn.openslx.org/svn/openslx/openslx/trunk@1778 95ad53e4-c205-0410-b2fa-d234c58c8868
* * more work at desktop plugin (GDM & KDM should now work on SUSE & Ubuntu)Oliver Tappe2008-05-205-23/+249
| | | | git-svn-id: http://svn.openslx.org/svn/openslx/openslx/trunk@1777 95ad53e4-c205-0410-b2fa-d234c58c8868
* * optimized the methods that set the attributes of a client/group/system toOliver Tappe2008-05-201-46/+114
| | | | | | | only execute required changes (instead of deleting all and then re-adding them with the new values) git-svn-id: http://svn.openslx.org/svn/openslx/openslx/trunk@1776 95ad53e4-c205-0410-b2fa-d234c58c8868
* * intermediate commit of desktop plugin, preparing for travel ...Oliver Tappe2008-05-1843-66/+512
| | | | | | | * copied displaymanager themes into desktop plugin (original files will be removed once the desktop plugin is working) git-svn-id: http://svn.openslx.org/svn/openslx/openslx/trunk@1775 95ad53e4-c205-0410-b2fa-d234c58c8868
* * delete the respective plugin-repo subfolder upon removal of a specific pluginOliver Tappe2008-05-181-1/+1
| | | | git-svn-id: http://svn.openslx.org/svn/openslx/openslx/trunk@1774 95ad53e4-c205-0410-b2fa-d234c58c8868
* * fixed a lib problem for vmpl2.0Volker Uhrig2008-05-152-0/+12
| | | | | | | | could have screwed up vmkind=local. needs to get tested more lib+config problems need to get fixed with vmpl2.0 git-svn-id: http://svn.openslx.org/svn/openslx/openslx/trunk@1772 95ad53e4-c205-0410-b2fa-d234c58c8868
* * small fixVolker Uhrig2008-05-152-32/+36
| | | | | | | | * move xml file we get from vmchooser to the windows disk drive B: vmchooser gets this file from the server and modifies it (adding scanner etc). git-svn-id: http://svn.openslx.org/svn/openslx/openslx/trunk@1771 95ad53e4-c205-0410-b2fa-d234c58c8868
* * get needed data from xml file when vmchooser got changedVolker Uhrig2008-05-152-30/+58
| | | | | | | not tested yet git-svn-id: http://svn.openslx.org/svn/openslx/openslx/trunk@1770 95ad53e4-c205-0410-b2fa-d234c58c8868
* * Added usage of stage1 attributesVolker Uhrig2008-05-142-86/+19Star
| | | | | | | | | | | | | | | | * small modification in stage3 * Missing * some more error checks and runvmware enhancements (would work without it) * vmware<->vmchooser integration in runvmware or wrapper * test of vmware_kind=local with workstation * vmplayer works with vmware_kind=local * more vmware_kinds * Missing in vmware_kind=vmpl2.0 integration * no kernel modules installed and loaded yet (but are compiled) * test of vmware_kind=vmpl2.0 on test based fixes git-svn-id: http://svn.openslx.org/svn/openslx/openslx/trunk@1769 95ad53e4-c205-0410-b2fa-d234c58c8868
* * added stage1 configuration attributeVolker Uhrig2008-05-141-0/+26
| | | | git-svn-id: http://svn.openslx.org/svn/openslx/openslx/trunk@1768 95ad53e4-c205-0410-b2fa-d234c58c8868
* * minor changesVolker Uhrig2008-05-1415-5273/+13Star
| | | | | | | * deleteing vmwarebinary plugin. now merged with vmware plugin git-svn-id: http://svn.openslx.org/svn/openslx/openslx/trunk@1767 95ad53e4-c205-0410-b2fa-d234c58c8868
* * added installation of vmplayer 2Volker Uhrig2008-05-143-1/+128
| | | | | | | | * added installation in stage1 * configuration and setup in stage3 and stage4 not done yet! git-svn-id: http://svn.openslx.org/svn/openslx/openslx/trunk@1766 95ad53e4-c205-0410-b2fa-d234c58c8868
* * removed files not needed anymoreVolker Uhrig2008-05-134-117/+562
| | | | | | | | | * added two different runvmware-scripts, currently both are the same if vmware will change their configuration syntax, it's easier to fit the needs git-svn-id: http://svn.openslx.org/svn/openslx/openslx/trunk@1765 95ad53e4-c205-0410-b2fa-d234c58c8868
* * more functions in vmware.pm to make the source better read- and understandableVolker Uhrig2008-05-132-142/+168
| | | | | | | | | | | | also helpful for future integration of different kinds or slx-based vmware installations * all checks possible in stage1 sound now be moved from stage3 to stage1 * runvmware-script depends on the version now. no differences yet, v1 and v2 should be compatible with the same. but for future changes in runvmware its helpfull * dozen of small changes * fixes and cleanup git-svn-id: http://svn.openslx.org/svn/openslx/openslx/trunk@1764 95ad53e4-c205-0410-b2fa-d234c58c8868
* * added explicit check for /srv/openslx/export/nfs being a bind-mount toOliver Tappe2008-05-121-0/+34
| | | | | | | | /var/opt/openslx/stage1 and skip the rsync step in that case This makes it possible to use a bind mount during development, which in turn avoids having to wait for rsync to do copy the largish vendor-OS folder. git-svn-id: http://svn.openslx.org/svn/openslx/openslx/trunk@1763 95ad53e4-c205-0410-b2fa-d234c58c8868
* * removed content_regex from verbose listing of attrs, as it does not make senseOliver Tappe2008-05-101-1/+1
| | | | | | | to show something like SCALAR(0xdeadbeef) ... git-svn-id: http://svn.openslx.org/svn/openslx/openslx/trunk@1762 95ad53e4-c205-0410-b2fa-d234c58c8868
* * optimization of function... or perhaps not... depending on the nextVolker Uhrig2008-05-021-13/+20
| | | | | | | days git-svn-id: http://svn.openslx.org/svn/openslx/openslx/trunk@1761 95ad53e4-c205-0410-b2fa-d234c58c8868
* * created function for version checkVolker Uhrig2008-05-021-39/+50
| | | | | | | | * removed vmware-ws check * cleaned up some code git-svn-id: http://svn.openslx.org/svn/openslx/openslx/trunk@1760 95ad53e4-c205-0410-b2fa-d234c58c8868
* Some comments to vmware plugin code ...Dirk von Suchodoletz2008-04-232-44/+50
| | | | git-svn-id: http://svn.openslx.org/svn/openslx/openslx/trunk@1758 95ad53e4-c205-0410-b2fa-d234c58c8868