summaryrefslogtreecommitdiffstats
path: root/config-db
Commit message (Collapse)AuthorAgeFilesLines
* * 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
* * circumvent problem with older versions of DBD::CSV not supporting the ↵Oliver Tappe2007-04-111-1/+9
| | | | | | | | | max()-function (this caused problems on SUSE-9.3). git-svn-id: http://svn.openslx.org/svn/openslx/trunk@874 95ad53e4-c205-0410-b2fa-d234c58c8868
* * removed 'use_absolute_tftp' from settings tableOliver Tappe2007-04-082-7/+0Star
| | | | git-svn-id: http://svn.openslx.org/svn/openslx/trunk@873 95ad53e4-c205-0410-b2fa-d234c58c8868
* * in order to be consistent with other scripts, 'remove' is now a real ↵Oliver Tappe2007-04-081-10/+29
| | | | | | | | | | | action. So you have to do 'slxsettings remove db-type' in order to remove the option db-type from the local settings. * adjusted POD to recent changes git-svn-id: http://svn.openslx.org/svn/openslx/trunk@872 95ad53e4-c205-0410-b2fa-d234c58c8868
* * made output less confusing (use '' instead of <>)Oliver Tappe2007-04-081-8/+8
| | | | git-svn-id: http://svn.openslx.org/svn/openslx/trunk@871 95ad53e4-c205-0410-b2fa-d234c58c8868
* * db-type no longer requires exact case matching of the respective module ↵Oliver Tappe2007-04-081-1/+14
| | | | | | | | | name (so you can now say --db-type=csv in order to request the 'CSV'-module). git-svn-id: http://svn.openslx.org/svn/openslx/trunk@870 95ad53e4-c205-0410-b2fa-d234c58c8868
* * added more precise errors for inconsistent DB states (if the export or ↵Oliver Tappe2007-04-052-10/+13
| | | | | | | | | | vendor-OS a system refers to doesn't exist) * some cleanup git-svn-id: http://svn.openslx.org/svn/openslx/trunk@866 95ad53e4-c205-0410-b2fa-d234c58c8868
* * renamed '/etc/sysconfig/slxconfig' to '/etc/sysconfig/slxsystem.conf' in ↵Oliver Tappe2007-04-051-3/+6
| | | | | | | | | | | order to avoid confusions between this file and the 'slxconfig'-script. * changed slxconfig-demuxer to automatically add the current OpenSLX-version into slxsystem.conf (via slxversion). git-svn-id: http://svn.openslx.org/svn/openslx/trunk@865 95ad53e4-c205-0410-b2fa-d234c58c8868
* * even more work on consolidating the PODs. Hopefully, I'm finished now...Oliver Tappe2007-04-033-366/+164Star
| | | | git-svn-id: http://svn.openslx.org/svn/openslx/trunk@858 95ad53e4-c205-0410-b2fa-d234c58c8868
* * more POD consolidationOliver Tappe2007-04-012-105/+135
| | | | git-svn-id: http://svn.openslx.org/svn/openslx/trunk@850 95ad53e4-c205-0410-b2fa-d234c58c8868
* * improved POD formattingOliver Tappe2007-04-012-112/+297
| | | | git-svn-id: http://svn.openslx.org/svn/openslx/trunk@849 95ad53e4-c205-0410-b2fa-d234c58c8868