From 2ddbcd32c1262791ff9a8a0367063e2332aea903 Mon Sep 17 00:00:00 2001 From: Michael Janczyk Date: Thu, 22 Nov 2012 12:37:46 +0100 Subject: change config structure: - old config, which was based only on stage3 wasn't modified. Only the directory has changed to /config/stage3 - stage1 config, which wasn't possible this way before, can be done now in /config/stage1 - the default/rootfs directory will be used for every vendor-OS - /config/stage1//rootfs will be used for the corresponding vendor-OS - so after a clone/install/update of stage1 the dafault config will be rsynced and after that the vendor-OS specific config will be rsynced. At the end the plugins will be installed. - This is all part of slxos-setup. ' --- src/config-db/slxconfig-demuxer | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) (limited to 'src/config-db') diff --git a/src/config-db/slxconfig-demuxer b/src/config-db/slxconfig-demuxer index dadd814b..ef2978fc 100755 --- a/src/config-db/slxconfig-demuxer +++ b/src/config-db/slxconfig-demuxer @@ -101,7 +101,7 @@ openslxInit(); my $openslxDB = OpenSLX::ConfigDB->new(); $openslxDB->connect(); -my $clientConfigPath = "$openslxConfig{'private-path'}/config"; +my $clientConfigPath = "$openslxConfig{'private-path'}/config/stage3"; # make sure that the default config folders exist: if (createConfigFolderForDefaultSystem()) { # this path should have been generated by earlier stage (slxsettings), so @@ -266,8 +266,8 @@ sub writeSlxConfigToFile } sub copyExternalSystemConfig -{ # copies local configuration extensions of given system from private - # config folder (var/lib/openslx/config/...) into a temporary folder +{ # copies local configuration extensions of given system from private config + # folder (var/lib/openslx/config/stage3/...) into a temporary folder my $systemName = shift; my $targetPath = shift; my $clientName = shift; # optional @@ -827,13 +827,14 @@ specifying all the attributes of that particular system and/or client Furthermore, each system-specific archive may contain additional system files that are required for that system (e.g. a special PAM-module required for LDAP -authentication). These files are copied from F<$SLX_PRIVATE_PATH/config/default> -and F<$SLX_PROVATE_PATH/config/>. +authentication). These files are copied from +F<$SLX_PRIVATE_PATH/config/stage3/default> and +F<$SLX_PROVATE_PATH/config/stage3/>. On top of that, each client may have its own set of system files, too (e.g. some config files required to install a special kind of hardware available only on that client). These files are copied from -F<< $SLX_PROVATE_PATH/config//01- >>. +F<< $SLX_PROVATE_PATH/config/stage3//01- >>. =back -- cgit v1.2.3-55-g7522