summaryrefslogtreecommitdiffstats
path: root/satellit_upgrader
diff options
context:
space:
mode:
authorSimon Rettberg2019-04-18 14:25:46 +0200
committerSimon Rettberg2019-04-18 14:25:46 +0200
commit9af64b27983915c7bede9d3c444e1fe3f72098c4 (patch)
treec8e52e8a99d9982c3af9ee7572bff89a86ce0389 /satellit_upgrader
parent[SSUS] Improve iPXE message (diff)
downloadsetup-scripts-9af64b27983915c7bede9d3c444e1fe3f72098c4.tar.gz
setup-scripts-9af64b27983915c7bede9d3c444e1fe3f72098c4.tar.xz
setup-scripts-9af64b27983915c7bede9d3c444e1fe3f72098c4.zip
[SSPS/SSUS] Install remap file for tftpdv3.8
This works around buggy PXE clients that pad the filename with a lot of FF bytes.
Diffstat (limited to 'satellit_upgrader')
-rwxr-xr-xsatellit_upgrader/pack-update.sh1
-rw-r--r--satellit_upgrader/updater.template.sh1
2 files changed, 2 insertions, 0 deletions
diff --git a/satellit_upgrader/pack-update.sh b/satellit_upgrader/pack-update.sh
index a44265e..64f7000 100755
--- a/satellit_upgrader/pack-update.sh
+++ b/satellit_upgrader/pack-update.sh
@@ -225,6 +225,7 @@ if [ -z "$LEAN" ]; then
addinstallfile "tftpd/tftpd-hpa.service"
addinstallfile "tftpd/tftpd-hpa"
+ addinstallfile "tftpd/tftpd-remap"
# TODO: Unify more
source ../satellit_installer/includes/10-sudo_config.inc
diff --git a/satellit_upgrader/updater.template.sh b/satellit_upgrader/updater.template.sh
index faf05f5..ea302e4 100644
--- a/satellit_upgrader/updater.template.sh
+++ b/satellit_upgrader/updater.template.sh
@@ -569,6 +569,7 @@ fi
diffcp "tftpd/tftpd-hpa" "/etc/default/tftpd-hpa" && chg=true
diffcp "tftpd/tftpd-hpa.service" "/etc/systemd/system/tftpd-hpa.service" && chg=true
+diffcp "tftpd/tftpd-remap" "/opt/openslx/tftpd-remap" && chg=true
if "$chg"; then
ln -s -f "../tftpd-hpa.service" "/etc/systemd/system/multi-user.target.wants/"
systemctl daemon-reload