summaryrefslogtreecommitdiffstats
path: root/config-db
diff options
context:
space:
mode:
Diffstat (limited to 'config-db')
-rwxr-xr-xconfig-db/slxconfig-demuxer9
1 files changed, 8 insertions, 1 deletions
diff --git a/config-db/slxconfig-demuxer b/config-db/slxconfig-demuxer
index e812dd93..84e1ed00 100755
--- a/config-db/slxconfig-demuxer
+++ b/config-db/slxconfig-demuxer
@@ -585,8 +585,9 @@ sub createBootEnvironmentsForSystem
my $type = $client->{attrs}->{boot_type} || 'pxe';
$bootTypes{$type}++;
}
+
foreach my $bootType (sort keys %bootTypes) {
- vlog(0, _tr("creating boot environment for $bootType"));
+ vlog(0, _tr("creating boot environment (system part) for $bootType"));
my $bootEnv = bootEnvironmentForType($bootType);
@@ -598,6 +599,12 @@ sub createBootEnvironmentsForSystem
= "$bootEnv->{'target-path'}/client-config/$info->{'external-id'}";
createTarOfPath($buildPath, "default.tgz", $systemPath);
}
+ }
+
+ foreach my $bootType (sort keys %bootTypes) {
+ vlog(0, _tr("creating boot environment (client part) for $bootType"));
+
+ my $bootEnv = bootEnvironmentForType($bootType);
writeClientConfigurationsForSystem(
$info, $buildPath, $attrFile, $bootType, $clients