diff options
Diffstat (limited to 'src/boot-env/OpenSLX/BootEnvironment')
-rw-r--r-- | src/boot-env/OpenSLX/BootEnvironment/PXE.pm | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/src/boot-env/OpenSLX/BootEnvironment/PXE.pm b/src/boot-env/OpenSLX/BootEnvironment/PXE.pm index 228b4e32..a8f517ef 100644 --- a/src/boot-env/OpenSLX/BootEnvironment/PXE.pm +++ b/src/boot-env/OpenSLX/BootEnvironment/PXE.pm @@ -300,9 +300,12 @@ sub _prepareBootloaderConfigFolder } } #copy iPXE to tftproot - slxsystem( - qq[cp -p "$basePath/share/boot-env/iPXE/*" $pxePath/] - ); + my @ipxeFiles = <$basePath/share/boot-env/iPXE/*.kpxe>; + foreach my $ipxeFile (@ipxeFiles) { + slxsystem( + qq[cp -p "$ipxeFile" $pxePath/] + ); + } } $self->{preparedBootloaderConfigFolder} = 1; |