From 02cd2061639be34b950c4a635c2ec0a106db644c Mon Sep 17 00:00:00 2001 From: Oliver Tappe Date: Fri, 23 Jan 2009 17:45:31 +0000 Subject: * 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 --- config-db/slxconfig-demuxer | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'config-db/slxconfig-demuxer') 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 '<<>>'; # 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'}; -- cgit v1.2.3-55-g7522