summaryrefslogtreecommitdiffstats
path: root/config-db/slxconfig-demuxer
diff options
context:
space:
mode:
authorOliver Tappe2009-01-23 18:45:31 +0100
committerOliver Tappe2009-01-23 18:45:31 +0100
commit02cd2061639be34b950c4a635c2ec0a106db644c (patch)
tree230b96390231eaeea0ceba945f6cbe038612ac74 /config-db/slxconfig-demuxer
parent * updated busybox with: (diff)
downloadcore-02cd2061639be34b950c4a635c2ec0a106db644c.tar.gz
core-02cd2061639be34b950c4a635c2ec0a106db644c.tar.xz
core-02cd2061639be34b950c4a635c2ec0a106db644c.zip
* two more fixes to adjust to boot_type being an attribute instead of a
straight field, now git-svn-id: http://svn.openslx.org/svn/openslx/openslx/trunk@2522 95ad53e4-c205-0410-b2fa-d234c58c8868
Diffstat (limited to 'config-db/slxconfig-demuxer')
-rwxr-xr-xconfig-db/slxconfig-demuxer4
1 files changed, 2 insertions, 2 deletions
diff --git a/config-db/slxconfig-demuxer b/config-db/slxconfig-demuxer
index 43d2da77..9d5cd7e9 100755
--- a/config-db/slxconfig-demuxer
+++ b/config-db/slxconfig-demuxer
@@ -349,7 +349,7 @@ sub writeBootloaderMenus
my @systemInfos = grep { exists $systemIDs{$_->{id}} } @infos;
# now write bootloader menu with all bootable systems for this client
- my $bootEnv = bootEnvironmentForType($client->{boot_type});
+ my $bootEnv = bootEnvironmentForType($client->{attrs}->{boot_type});
my $externalID = externalIDForClient($client);
$bootEnv->writeBootloaderMenuFor($client, $externalID, \@systemInfos);
}
@@ -382,7 +382,7 @@ sub writeClientConfigurationsForSystem
next if $client->{name} eq '<<<default>>>';
# skip default client, as it doesn't need any config-tgz
- next if ($client->{boot_type} || 'pxe') ne $bootType;
+ next if ($client->{attrs}->{boot_type} || 'pxe') ne $bootType;
# skip clients with non-matching boot type
my $externalSystemID = $info->{'external-id'};