From 398cd7f49e1a3a3c8753e2fc741c807354691706 Mon Sep 17 00:00:00 2001 From: Sebastian Schmelzer Date: Tue, 3 Feb 2009 16:31:04 +0000 Subject: * quick fix for problems with multiple bootEnvTypes git-svn-id: http://svn.openslx.org/svn/openslx/openslx/trunk@2564 95ad53e4-c205-0410-b2fa-d234c58c8868 --- config-db/slxconfig-demuxer | 18 +++++++++++------- 1 file changed, 11 insertions(+), 7 deletions(-) (limited to 'config-db') 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; -- cgit v1.2.3-55-g7522