summaryrefslogtreecommitdiffstats
path: root/config-db
Commit message (Collapse)AuthorAgeFilesLines
* * fixed a couple of 'use of uninitialized values' reported by DirkOliver Tappe2007-07-181-1/+1
| | | | git-svn-id: http://svn.openslx.org/svn/openslx/trunk@1244 95ad53e4-c205-0410-b2fa-d234c58c8868
* * more work towards perlcritic compliance, fixed the low-hanging fruit Oliver Tappe2007-07-109-14/+68
| | | | | | for level 4 git-svn-id: http://svn.openslx.org/svn/openslx/trunk@1234 95ad53e4-c205-0410-b2fa-d234c58c8868
* * fixed use of uninitialized valueOliver Tappe2007-07-061-1/+1
| | | | git-svn-id: http://svn.openslx.org/svn/openslx/trunk@1227 95ad53e4-c205-0410-b2fa-d234c58c8868
* * now a dummy hostname ('slx-client') is set in initramfs-setup, just to haveOliver Tappe2007-07-061-0/+1
| | | | | | any hostname in case the client is not using a dhcp client. git-svn-id: http://svn.openslx.org/svn/openslx/trunk@1226 95ad53e4-c205-0410-b2fa-d234c58c8868
* * added support for os-plugins:Oliver Tappe2007-07-031-15/+76
| | | | | | | | | | | | + added script slxos-plugin, which must be invoked to install a plugin into a vendor-OS + added handling of plugins to slxconfig-demuxer + added folder structure for plugins (below 'os-plugins') + implemented one simple plugin, called 'Example' which contains a couple of hints how to write own plugins git-svn-id: http://svn.openslx.org/svn/openslx/trunk@1220 95ad53e4-c205-0410-b2fa-d234c58c8868
* * verbose-mode is now activated automatically if you request the listingOliver Tappe2007-07-011-0/+8
| | | | | | of some type and pass in specific arguments git-svn-id: http://svn.openslx.org/svn/openslx/trunk@1208 95ad53e4-c205-0410-b2fa-d234c58c8868
* * activated 'use warnings' to all modules and adjusted all occurences ofOliver Tappe2007-07-0110-105/+101Star
| | | | | | | 'use of uninitialized values', a couple of which might still show up * adjusted all code with respect to passing perlcritic level 4 and 5 git-svn-id: http://svn.openslx.org/svn/openslx/trunk@1207 95ad53e4-c205-0410-b2fa-d234c58c8868
* * implemented support for generating a separate initramfs-setup as part ofOliver Tappe2007-06-242-138/+173
| | | | | | | | | the initramfs, machine-setup is now transported via Conf-TGZ only. N.B.: Couldn't apply this to the 4.1.0 branch since init has diverted a little too much for my liking! Will look into this next week. git-svn-id: http://svn.openslx.org/svn/openslx/trunk@1189 95ad53e4-c205-0410-b2fa-d234c58c8868
* * cosmetical change of info textOliver Tappe2007-06-201-1/+1
| | | | git-svn-id: http://svn.openslx.org/svn/openslx/trunk@1184 95ad53e4-c205-0410-b2fa-d234c58c8868
* * fixed showstopping bugs introduced with rev 1176, sorry!Oliver Tappe2007-06-204-386/+375Star
| | | | git-svn-id: http://svn.openslx.org/svn/openslx/trunk@1177 95ad53e4-c205-0410-b2fa-d234c58c8868
* * split export type into filesystem and (optional) blockdevice, closingOliver Tappe2007-06-209-309/+306Star
| | | | | | | ticket#139 * code-reformatting with perltidy git-svn-id: http://svn.openslx.org/svn/openslx/trunk@1176 95ad53e4-c205-0410-b2fa-d234c58c8868
* largish change with respect to configurable paths:Oliver Tappe2007-06-177-78/+73Star
| | | | | | | | | | | | | | | | | | | | * instead of supporting configurable paths at different hierarchy levels, there are now only five configurable folder: + base-path (/opt/openslx), fixed at installation time + config-path (/etc/opt/openslx), fixed at installation time + private-path (/var/opt/openslx), freely configurable by user + public-path (/srv/openslx), freely configurable by user + temp-path (/tmp), freely configurable by user this closes ticket#143 * several holes have been plugged concerning the creation of folders before they are accessed, closing ticket#142 * the functionality of generating config default folders has been moved from the Makefile into a new Perl-module (ConfigFolder.pm), in order to be available to the Perl-scripts, too * slxsettings has been changed to reflect the nature of base-path and config-path as fixed paths git-svn-id: http://svn.openslx.org/svn/openslx/trunk@1172 95ad53e4-c205-0410-b2fa-d234c58c8868
* * moved slxsettings from 'config-db' to 'bin', as it has nothing to do withOliver Tappe2007-06-141-366/+0Star
| | | | | | the db (anymore) git-svn-id: http://svn.openslx.org/svn/openslx/trunk@1163 95ad53e4-c205-0410-b2fa-d234c58c8868
* * fixed all warnings indicated by 'perl -w'Oliver Tappe2007-06-133-6/+8
| | | | git-svn-id: http://svn.openslx.org/svn/openslx/trunk@1162 95ad53e4-c205-0410-b2fa-d234c58c8868
* * fixed incorrectly generated exportURI (still used the export-name insteadOliver Tappe2007-06-071-1/+1
| | | | | | of the vendor-OS-name) [reported by Felix, thanks!] git-svn-id: http://svn.openslx.org/svn/openslx/trunk@1155 95ad53e4-c205-0410-b2fa-d234c58c8868
* * fixed wrong default value for attribute 'start_xdmcp', should be 'kdm' Oliver Tappe2007-06-021-1/+1
| | | | | | | instead of 'kde' (reported by Dirk and Felix) git-svn-id: http://svn.openslx.org/svn/openslx/trunk@1139 95ad53e4-c205-0410-b2fa-d234c58c8868
* Make vesamenu.c32 available for optional useFelix Endres2007-06-011-0/+5
| | | | git-svn-id: http://svn.openslx.org/svn/openslx/trunk@1132 95ad53e4-c205-0410-b2fa-d234c58c8868
* * dropped superfluous column vendor_os.export_counterOliver Tappe2007-05-291-2/+1Star
| | | | git-svn-id: http://svn.openslx.org/svn/openslx/trunk@1109 95ad53e4-c205-0410-b2fa-d234c58c8868
* * part one of settings file related changes (ticket#122): Oliver Tappe2007-05-281-5/+5
| | | | | | | | - 'settings.default' now lives in /opt/openslx/share - 'settings.local' has been renamed to 'settings' git-svn-id: http://svn.openslx.org/svn/openslx/trunk@1103 95ad53e4-c205-0410-b2fa-d234c58c8868
* * added missing quotes around attribute values when creating machine-setup;Oliver Tappe2007-05-221-1/+1
| | | | | | this lead to error messages in stage3-init when some values contain whitespace git-svn-id: http://svn.openslx.org/svn/openslx/trunk@1089 95ad53e4-c205-0410-b2fa-d234c58c8868
* * fixed incorrect use of private-path instead of stage1-path, as reportedOliver Tappe2007-05-181-1/+1
| | | | | | by Michael (mj0) git-svn-id: http://svn.openslx.org/svn/openslx/trunk@1086 95ad53e4-c205-0410-b2fa-d234c58c8868
* * removed incorrect use of quotemeta() when copying configuration folders,Oliver Tappe2007-05-161-7/+21
| | | | | | | | | | | fixes problem of system- and client-specific files not being copied * Instead of overwriting attribut-files, we now append to them, in order to make use of any settings the user might have provided in the configuration folder (unless, of course, these settings are overruled by the DB). AFAIC, this currently makes sense for the root-pw only. * pass on machine-setup file to mkdxsinitrd, fixes ticket #134 git-svn-id: http://svn.openslx.org/svn/openslx/trunk@1085 95ad53e4-c205-0410-b2fa-d234c58c8868
* * updated PODOliver Tappe2007-05-161-10/+21
| | | | git-svn-id: http://svn.openslx.org/svn/openslx/trunk@1083 95ad53e4-c205-0410-b2fa-d234c58c8868
* * simplified declaration of base classes via 'use base'Oliver Tappe2007-05-135-28/+12Star
| | | | | | | * simplified checking for correct API-version of modules git-svn-id: http://svn.openslx.org/svn/openslx/trunk@1072 95ad53e4-c205-0410-b2fa-d234c58c8868
* * added utility function followLink() and made use of itOliver Tappe2007-05-131-2/+3
| | | | | | | * reworked search for required kernel modules to be able to return the matching paths to the caller (not currently used though) git-svn-id: http://svn.openslx.org/svn/openslx/trunk@1069 95ad53e4-c205-0410-b2fa-d234c58c8868
* * fixed error during loading of DB-modules I introduced yesterdayOliver Tappe2007-05-121-1/+1
| | | | git-svn-id: http://svn.openslx.org/svn/openslx/trunk@1051 95ad53e4-c205-0410-b2fa-d234c58c8868
* * cleanup in DB-modulesOliver Tappe2007-05-115-23/+16Star
| | | | | | * DBD::CSV is now required to be 0.22 or higher (to circumvent problems on SuSE-9.3) git-svn-id: http://svn.openslx.org/svn/openslx/trunk@1046 95ad53e4-c205-0410-b2fa-d234c58c8868
* * minor cleanupOliver Tappe2007-05-111-1/+1
| | | | git-svn-id: http://svn.openslx.org/svn/openslx/trunk@1045 95ad53e4-c205-0410-b2fa-d234c58c8868
* * minor cleanup of PODs with respect to Eclipse syntax highlightingOliver Tappe2007-05-093-5/+7
| | | | git-svn-id: http://svn.openslx.org/svn/openslx/trunk@1036 95ad53e4-c205-0410-b2fa-d234c58c8868
* * reworked construction of export-URI to be delegated into the respectiveOliver Tappe2007-05-071-16/+11Star
| | | | | | | | exporter module, as a result, the NBD-URLs are now correct * added 'nbd' as an alias for the 'nbd-squash' export type git-svn-id: http://svn.openslx.org/svn/openslx/trunk@1024 95ad53e4-c205-0410-b2fa-d234c58c8868
* * added support to exporter modules for passing out the required fs-modulesOliver Tappe2007-05-061-4/+9
| | | | | | | * improved config-demuxer to ask exporter for required fs-mods and pass this to mkdxsinitrd git-svn-id: http://svn.openslx.org/svn/openslx/trunk@1019 95ad53e4-c205-0410-b2fa-d234c58c8868
* * changed ramfs_fsmods and ramfs_nicmods to be (system-only) attributesOliver Tappe2007-05-061-3/+8
| | | | git-svn-id: http://svn.openslx.org/svn/openslx/trunk@1016 95ad53e4-c205-0410-b2fa-d234c58c8868
* * added new table global_info to DB-schema, in order to support nbd-server-portsOliver Tappe2007-05-064-16/+175
| | | | | | | | * added transaction support to config-DB * added support for incrementing global counters (which live in global_info) git-svn-id: http://svn.openslx.org/svn/openslx/trunk@1011 95ad53e4-c205-0410-b2fa-d234c58c8868
* * added option -S to mkdxsinitrd in order to pass in the system nameOliver Tappe2007-05-061-0/+2
| | | | | | | | | | | * replaced $DISTRO by $DISTRO_NAME and $DISTRO_VER * added $SYSTEM_NAME and used it at a couple of places where $DISTRO was used before * removed the two tries to fetch the config-tgz without any system name, as these are never generated by the demuxer anyway. git-svn-id: http://svn.openslx.org/svn/openslx/trunk@1007 95ad53e4-c205-0410-b2fa-d234c58c8868
* * fixed syntax problemsOliver Tappe2007-05-051-2/+3
| | | | git-svn-id: http://svn.openslx.org/svn/openslx/trunk@1006 95ad53e4-c205-0410-b2fa-d234c58c8868
* * added default values for all attributes to default systemOliver Tappe2007-05-051-0/+40
| | | | | | | * added missing attribute 'dm_allow_shutdown' git-svn-id: http://svn.openslx.org/svn/openslx/trunk@1005 95ad53e4-c205-0410-b2fa-d234c58c8868
* * fixed machine-setup not being generated for client-specific config-TGZsOliver Tappe2007-05-051-6/+7
| | | | git-svn-id: http://svn.openslx.org/svn/openslx/trunk@1004 95ad53e4-c205-0410-b2fa-d234c58c8868
* * mkdxsinitrd now determines DISTRO and DISTRO_VER from the given ROOTPATHOliver Tappe2007-05-051-3/+0Star
| | | | | | | * removed old DISTRO detection code from mkdxsinitrd git-svn-id: http://svn.openslx.org/svn/openslx/trunk@1001 95ad53e4-c205-0410-b2fa-d234c58c8868
* * reworked exporting of default-/system-/client-configurations (TGZs) accordingOliver Tappe2007-05-051-34/+94
| | | | | | | | | to recent discussion - closes ticket #126 * fixed a couple of bugs relating to aggregation of attributes * improved robustness against strange client/system names git-svn-id: http://svn.openslx.org/svn/openslx/trunk@1000 95ad53e4-c205-0410-b2fa-d234c58c8868
* * added pushAttributes() and externalConfigNameForClient()Oliver Tappe2007-05-051-15/+50
| | | | | | | | | * improved externalID...() functions to avoid slashes in filenames * fixed a couple of bugs in the aggregate...-functions that have been exposed during todays work on the demuxer. git-svn-id: http://svn.openslx.org/svn/openslx/trunk@999 95ad53e4-c205-0410-b2fa-d234c58c8868
* * fixed some holes in param check, could lead to crashesOliver Tappe2007-05-051-5/+5
| | | | git-svn-id: http://svn.openslx.org/svn/openslx/trunk@998 95ad53e4-c205-0410-b2fa-d234c58c8868
* * removed code that tries to set defaults to columns that do not exist anymoreOliver Tappe2007-05-041-9/+0Star
| | | | | | | Thanks to Christian Hack for reporting this. git-svn-id: http://svn.openslx.org/svn/openslx/trunk@993 95ad53e4-c205-0410-b2fa-d234c58c8868
* * filled attributes list with everything referenced in machine-setup.defaultOliver Tappe2007-05-031-13/+30
| | | | | | | | * reworked all attributes to be string types, in order to avoid having to map boolean attributes from "0/1" to "no/yes". git-svn-id: http://svn.openslx.org/svn/openslx/trunk@992 95ad53e4-c205-0410-b2fa-d234c58c8868
* * now always passed '-d' to mkdxsinitrd in order to avoid using the ↵Oliver Tappe2007-05-031-4/+4
| | | | | | | | | | busybox-provided DHCP-client and use dhclient instead (as only the latter can fetch NIS-stuff). Note: We should improve udhcpcd in order to be able to drop dhclient at a later stage. git-svn-id: http://svn.openslx.org/svn/openslx/trunk@990 95ad53e4-c205-0410-b2fa-d234c58c8868
* overhaul the settings concept:Oliver Tappe2007-05-026-153/+41Star
| | | | | | | | | | * now all settings live in the settings file, no more settings table in the DB * clearified slxsettings and its options * removed all references to db table 'settings' * added some new extended settings git-svn-id: http://svn.openslx.org/svn/openslx/trunk@988 95ad53e4-c205-0410-b2fa-d234c58c8868
* * reverted recent addition of --verbose-level to short help, as that is no ↵Oliver Tappe2007-05-022-7/+3Star
| | | | | | | | | | | script option, but an openslx-option (which is supported by all openslx-scripts). These options are only mentioned in the man-page, but not in the short help. * Moved the improved help text for --verbose-level to slxsettings. git-svn-id: http://svn.openslx.org/svn/openslx/trunk@987 95ad53e4-c205-0410-b2fa-d234c58c8868
* Replace dhpc-type by dhcp-export-type. Plus some indention for theLars Müller2007-05-011-7/+7
| | | | | | | other options. git-svn-id: http://svn.openslx.org/svn/openslx/trunk@981 95ad53e4-c205-0410-b2fa-d234c58c8868
* Replace ... by some more explaining words.Lars Müller2007-05-011-2/+3
| | | | git-svn-id: http://svn.openslx.org/svn/openslx/trunk@979 95ad53e4-c205-0410-b2fa-d234c58c8868
* Cleanup message and remove superfluous spaces.Lars Müller2007-05-011-2/+2
| | | | | | | Oh yes, I don't like such ... statements. git-svn-id: http://svn.openslx.org/svn/openslx/trunk@978 95ad53e4-c205-0410-b2fa-d234c58c8868
* Put explanation of debug option to slxconfig-demuxer ...Dirk von Suchodoletz2007-05-011-1/+7
| | | | git-svn-id: http://svn.openslx.org/svn/openslx/trunk@975 95ad53e4-c205-0410-b2fa-d234c58c8868