diff options
author | Oliver Tappe | 2008-09-04 21:36:55 +0200 |
---|---|---|
committer | Oliver Tappe | 2008-09-04 21:36:55 +0200 |
commit | 50f1d0be005174b05032c34ae9e251377e3b3ef5 (patch) | |
tree | 5088b0bdc0b2cee825d6f783b67836b341aecd02 /boot-env/OpenSLX/BootEnvironment/PXE.pm | |
parent | * added stage3 nvidia setup (diff) | |
download | core-50f1d0be005174b05032c34ae9e251377e3b3ef5.tar.gz core-50f1d0be005174b05032c34ae9e251377e3b3ef5.tar.xz core-50f1d0be005174b05032c34ae9e251377e3b3ef5.zip |
* turned the client fields 'boot_type','unbootable' and 'kernel_params' as well
as the system fields 'kernel_params' and 'hidden' into attributes
* added client-only attribute 'boot_uri' which will soon be evaluated by the
preboot-cd boot environment
git-svn-id: http://svn.openslx.org/svn/openslx/openslx/trunk@2205 95ad53e4-c205-0410-b2fa-d234c58c8868
Diffstat (limited to 'boot-env/OpenSLX/BootEnvironment/PXE.pm')
-rw-r--r-- | boot-env/OpenSLX/BootEnvironment/PXE.pm | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/boot-env/OpenSLX/BootEnvironment/PXE.pm b/boot-env/OpenSLX/BootEnvironment/PXE.pm index a746d9d4..d6ddae36 100644 --- a/boot-env/OpenSLX/BootEnvironment/PXE.pm +++ b/boot-env/OpenSLX/BootEnvironment/PXE.pm @@ -58,7 +58,7 @@ sub writeBootloaderMenuFor my $pxeConfig = $self->_getTemplate(); my $pxeFile = "$pxeConfigPath/$externalClientID"; - my $clientAppend = $client->{kernel_params} || ''; + my $clientAppend = $client->{attrs}->{kernel_params_client} || ''; vlog(1, _tr("writing PXE-file %s", $pxeFile)); # set label for each system @@ -79,7 +79,7 @@ sub writeBootloaderMenuFor foreach my $info (sort { $a->{label} cmp $b->{label} } @$systemInfos) { my $vendorOSName = $info->{'vendor-os'}->{name}; my $kernelName = basename($info->{'kernel-file'}); - my $append = $info->{kernel_params}; + my $append = $info->{attrs}->{kernel_params}; $append .= " initrd=$vendorOSName/$info->{'initramfs-name'}"; $append .= " $clientAppend"; $slxLabels .= "LABEL openslx-$info->{'external-id'}\n"; |