aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Gabriel <mike.gabriel@das-netzwerkteam.de>2022-01-27 22:38:28 +0100
committerMike Gabriel <mike.gabriel@das-netzwerkteam.de>2022-01-27 22:38:49 +0100
commit1598c14140c25e998907ea4e4129fab61fab74bb (patch)
tree2af75b1162f38b98433f55bb70fa9ad44b50a828
parentd6a9338127a585c4cc2f8cf7f04b2885fed26de6 (diff)
downloaddebian-edu-fai+itzks-1598c14140c25e998907ea4e4129fab61fab74bb.tar.gz
debian-edu-fai+itzks-1598c14140c25e998907ea4e4129fab61fab74bb.tar.bz2
debian-edu-fai+itzks-1598c14140c25e998907ea4e4129fab61fab74bb.zip
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.
-rwxr-xr-xbin/debian-edu-faiinstall8
1 files 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 <<EOF > "${tftpdir}/debian-edu-fai/debian-edu-fai.ipxe"
+echo "Generating ${tftpdir}/debian-edu-fai/ltsp.ipxe"
+cat <<EOF > "${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"