summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/boot-env/OpenSLX/BootEnvironment/PXE.pm9
-rw-r--r--src/boot-env/iPXE/unifr-rz.ipxe4
-rw-r--r--src/boot-env/iPXE/unifr-rz.kpxebin0 -> 61783 bytes
3 files changed, 10 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;
diff --git a/src/boot-env/iPXE/unifr-rz.ipxe b/src/boot-env/iPXE/unifr-rz.ipxe
new file mode 100644
index 00000000..59a19c33
--- /dev/null
+++ b/src/boot-env/iPXE/unifr-rz.ipxe
@@ -0,0 +1,4 @@
+#!ipxe
+
+dhcp
+chain http://pbs2.mp.openslx.org/ipxe/auth/serial/serialnumber/55-44-33-22-11/mac/${net0/mac}
diff --git a/src/boot-env/iPXE/unifr-rz.kpxe b/src/boot-env/iPXE/unifr-rz.kpxe
new file mode 100644
index 00000000..452189df
--- /dev/null
+++ b/src/boot-env/iPXE/unifr-rz.kpxe
Binary files differ