summaryrefslogtreecommitdiffstats
path: root/config-db
Commit message (Collapse)AuthorAgeFilesLines
...
* * 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
* * improved error handling during installation and execution in case the ↵Oliver Tappe2007-04-301-1/+11
| | | | | | | | | | DB-module can't be loaded (because of missing DBD::-modules). Closes ticket #118 git-svn-id: http://svn.openslx.org/svn/openslx/trunk@971 95ad53e4-c205-0410-b2fa-d234c58c8868
* * changed numbering scheme of initramfs from letters to numbers, in order toOliver Tappe2007-04-301-2/+2
| | | | | | | | avoid confusion with export/systems (which already make use of letters). This closes ticket #84. git-svn-id: http://svn.openslx.org/svn/openslx/trunk@969 95ad53e4-c205-0410-b2fa-d234c58c8868
* * corrected generation of wrong export name in PXE files.Oliver Tappe2007-04-291-1/+1
| | | | git-svn-id: http://svn.openslx.org/svn/openslx/trunk@951 95ad53e4-c205-0410-b2fa-d234c58c8868
* * instead of the outdated slxmkramfs, the demuxer now uses the older, but betterOliver Tappe2007-04-281-21/+8Star
| | | | | | | | mkdxsinitrd * removed slxmkramfs, as it is going to be reimplemented in perl, later git-svn-id: http://svn.openslx.org/svn/openslx/trunk@944 95ad53e4-c205-0410-b2fa-d234c58c8868
* * added method for getting the next export-counter of a vendor-OS.Oliver Tappe2007-04-231-0/+17
| | | | | | | However, this should be redone later in order to avoid possible races. git-svn-id: http://svn.openslx.org/svn/openslx/trunk@920 95ad53e4-c205-0410-b2fa-d234c58c8868
* * added 'export_counter' to table 'vendor_os'Oliver Tappe2007-04-231-1/+2
| | | | git-svn-id: http://svn.openslx.org/svn/openslx/trunk@919 95ad53e4-c205-0410-b2fa-d234c58c8868
* * cleanupOliver Tappe2007-04-232-2/+1Star
| | | | git-svn-id: http://svn.openslx.org/svn/openslx/trunk@918 95ad53e4-c205-0410-b2fa-d234c58c8868
* * list-systems in verbose mode now shows type of export next to the name, inOliver Tappe2007-04-221-2/+2
| | | | | | | | order to make it obvious which export-type any system is using. git-svn-id: http://svn.openslx.org/svn/openslx/trunk@917 95ad53e4-c205-0410-b2fa-d234c58c8868
* * set appropriate default values for start_xdmcp and start_x in case the ↵Oliver Tappe2007-04-141-0/+16
| | | | | | | | | system-name contains 'kde' or 'gnome'. git-svn-id: http://svn.openslx.org/svn/openslx/trunk@887 95ad53e4-c205-0410-b2fa-d234c58c8868
* * improved error message in case a database module couldOliver Tappe2007-04-133-3/+3
| | | | | | | not be loaded git-svn-id: http://svn.openslx.org/svn/openslx/trunk@886 95ad53e4-c205-0410-b2fa-d234c58c8868
* * fixed incorrect module names in error message.Oliver Tappe2007-04-133-3/+3
| | | | git-svn-id: http://svn.openslx.org/svn/openslx/trunk@885 95ad53e4-c205-0410-b2fa-d234c58c8868
* * changed folder structure underneath /srv/openslx/tftpboot/pxe from ↵Oliver Tappe2007-04-131-11/+18
| | | | | | | | | | system-based to vendor-OS-based. This should save some space (as required kernels are copied only once) and should be easier to graps (not as much folders if there are a lot of systems). git-svn-id: http://svn.openslx.org/svn/openslx/trunk@882 95ad53e4-c205-0410-b2fa-d234c58c8868
* * simplification and cleanup step, in preparation for change of pxe folder ↵Oliver Tappe2007-04-131-58/+68
| | | | | | structure git-svn-id: http://svn.openslx.org/svn/openslx/trunk@881 95ad53e4-c205-0410-b2fa-d234c58c8868
* * fixed several issues in --dry-run mode (wasn't dry enough ;o)Oliver Tappe2007-04-121-11/+16
| | | | | | | | | | * fixed character encoding problems with PXE clients (they expect codepage 850, but we used to feed utf-8...) * deactivated dhcp-export by default, as it isn't implemented yet, anyway git-svn-id: http://svn.openslx.org/svn/openslx/trunk@880 95ad53e4-c205-0410-b2fa-d234c58c8868
* * if no clients have been specified for a new system, the system will be ↵Oliver Tappe2007-04-121-0/+5
| | | | | | | | | added to the default client, which will make it available for booting by *all* clients. git-svn-id: http://svn.openslx.org/svn/openslx/trunk@879 95ad53e4-c205-0410-b2fa-d234c58c8868
* * for better consistency, the name has to be given without the 'name='-prefix,Oliver Tappe2007-04-121-59/+77
| | | | | | | | as is done in all the other scripts. * added some more sanity checks during addition of clients & systems. git-svn-id: http://svn.openslx.org/svn/openslx/trunk@878 95ad53e4-c205-0410-b2fa-d234c58c8868
* * now supports external PXE-template (expected in ↵Oliver Tappe2007-04-111-8/+21
| | | | | | | | | '/etc/opt/openslx/PXE-template'). * no longer leaves .lock-file in case of death git-svn-id: http://svn.openslx.org/svn/openslx/trunk@877 95ad53e4-c205-0410-b2fa-d234c58c8868
* * created example of a PXE-template file and changed Makefile to copyOliver Tappe2007-04-111-0/+8
| | | | | | | this to the config-path git-svn-id: http://svn.openslx.org/svn/openslx/trunk@876 95ad53e4-c205-0410-b2fa-d234c58c8868
* * fixed leftover of use_absolute_tftpOliver Tappe2007-04-111-1/+0Star
| | | | git-svn-id: http://svn.openslx.org/svn/openslx/trunk@875 95ad53e4-c205-0410-b2fa-d234c58c8868