From 1c1a44f39b2c09866100f60f70ac1ebfd8124060 Mon Sep 17 00:00:00 2001 From: Sebastian Schmelzer Date: Mon, 11 Jul 2011 16:11:07 +0200 Subject: ipxe stuff 2 --- src/boot-env/OpenSLX/BootEnvironment/PXE.pm | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) (limited to 'src/boot-env/OpenSLX') 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; -- cgit v1.2.3-55-g7522