summaryrefslogtreecommitdiffstats
path: root/satellit_upgrader
diff options
context:
space:
mode:
authorSimon Rettberg2022-05-11 14:09:09 +0200
committerSimon Rettberg2022-05-11 14:09:09 +0200
commita51e96cd6029a3d61b29ca21398a04d699f639d3 (patch)
tree174e853a60870ef6c70a5ab04b1ead0e969244f0 /satellit_upgrader
parent[SSPS] Explicitly set sql_mode for mariadb server (diff)
downloadsetup-scripts-a51e96cd6029a3d61b29ca21398a04d699f639d3.tar.gz
setup-scripts-a51e96cd6029a3d61b29ca21398a04d699f639d3.tar.xz
setup-scripts-a51e96cd6029a3d61b29ca21398a04d699f639d3.zip
[SSUS] Move iPXE config around
Diffstat (limited to 'satellit_upgrader')
-rw-r--r--satellit_upgrader/updater.template.sh2
1 files changed, 2 insertions, 0 deletions
diff --git a/satellit_upgrader/updater.template.sh b/satellit_upgrader/updater.template.sh
index 1471e99..19997c0 100644
--- a/satellit_upgrader/updater.template.sh
+++ b/satellit_upgrader/updater.template.sh
@@ -433,6 +433,8 @@ if $build; then
|| pwarning "Could not update iPXE -- let's hope the old version still works."
echo "Adding bwlp config..."
install_files "ipxe-bwlp"
+ mkdir -p "/opt/openslx/ipxe/src/config/local/bwlp"
+ cp /opt/openslx/ipxe-bwlp-config/*.h "/opt/openslx/ipxe/src/config/local/bwlp/"
fixperms "$PATH_IPXE" taskmanager:taskmanager
echo "Resetting pxe menu"
mysql -e 'UPDATE openslx.property SET value = "invalid" WHERE name = "server-ip"' || pwarning "Could not reset pxe menu status; manual regeneration of menu required"