summaryrefslogtreecommitdiffstats
path: root/config-db
diff options
context:
space:
mode:
authorSebastian Schmelzer2009-02-03 17:31:04 +0100
committerSebastian Schmelzer2009-02-03 17:31:04 +0100
commit398cd7f49e1a3a3c8753e2fc741c807354691706 (patch)
tree6357b0960167f668b730e94d241d64b1d4d4e648 /config-db
parent * there is no rebuild .. (diff)
downloadcore-398cd7f49e1a3a3c8753e2fc741c807354691706.tar.gz
core-398cd7f49e1a3a3c8753e2fc741c807354691706.tar.xz
core-398cd7f49e1a3a3c8753e2fc741c807354691706.zip
* quick fix for problems with multiple bootEnvTypes
git-svn-id: http://svn.openslx.org/svn/openslx/openslx/trunk@2564 95ad53e4-c205-0410-b2fa-d234c58c8868
Diffstat (limited to 'config-db')
-rwxr-xr-xconfig-db/slxconfig-demuxer18
1 files changed, 11 insertions, 7 deletions
diff --git a/config-db/slxconfig-demuxer b/config-db/slxconfig-demuxer
index 9badee07..9c10190e 100755
--- a/config-db/slxconfig-demuxer
+++ b/config-db/slxconfig-demuxer
@@ -557,13 +557,17 @@ sub createBootEnvironmentsForSystem
$initramfsCount
+= $bootEnv->writeFilesRequiredForBooting($info, $buildPath);
- my $systemPath
- = "$bootEnv->{'target-path'}/client-config/$info->{'external-id'}";
- createTarOfPath($buildPath, "default.tgz", $systemPath);
-
- writeClientConfigurationsForSystem(
- $info, $buildPath, $attrFile, $bootType, $clients
- );
+ # TODO: use different paths for other boot environments
+ # QUICK FIX: only write something for pxe at the moment
+ if ($bootType eq 'pxe') {
+ my $systemPath
+ = "$bootEnv->{'target-path'}/client-config/$info->{'external-id'}";
+ createTarOfPath($buildPath, "default.tgz", $systemPath);
+
+ writeClientConfigurationsForSystem(
+ $info, $buildPath, $attrFile, $bootType, $clients
+ );
+ }
}
return;