From 1598c14140c25e998907ea4e4129fab61fab74bb Mon Sep 17 00:00:00 2001 From: Mike Gabriel Date: Thu, 27 Jan 2022 22:38:28 +0100 Subject: bin/debian-edu-faiinstall: Create .ipxe file as ltsp.ipxe first, then create a symlink 'debian-edu-fai.ipxe' to reflect that this is not LTSP but FAI. --- bin/debian-edu-faiinstall | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/bin/debian-edu-faiinstall b/bin/debian-edu-faiinstall index 2c75f60..a446985 100755 --- a/bin/debian-edu-faiinstall +++ b/bin/debian-edu-faiinstall @@ -315,8 +315,8 @@ fi cp /usr/lib/ipxe/undionly.kpxe "${tftpdir}/debian-edu-fai/" cp /usr/lib/ipxe/snponly.efi "${tftpdir}/debian-edu-fai/" cp /boot/memtest86+.bin "${tftpdir}/debian-edu-fai/" -echo "Generating ${tftpdir}/debian-edu-fai/debian-edu-fai.ipxe" -cat < "${tftpdir}/debian-edu-fai/debian-edu-fai.ipxe" +echo "Generating ${tftpdir}/debian-edu-fai/ltsp.ipxe" +cat < "${tftpdir}/debian-edu-fai/ltsp.ipxe" #!ipxe # # Configure iPXE for network installations @@ -379,4 +379,6 @@ echo Booting failed, dropping to a shell goto shell EOF -cat $menufile >> "${tftpdir}/debian-edu-fai/debian-edu-fai.ipxe" +cat $menufile >> "${tftpdir}/debian-edu-fai/ltsp.ipxe" + +ln -sf ltsp.ipxe "${tftpdir}/debian-edu-fai/debian-edu-fai.ipxe" -- cgit v1.2.3