summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSimon Rettberg2022-05-11 14:09:09 +0200
committerSimon Rettberg2022-05-11 14:09:09 +0200
commita51e96cd6029a3d61b29ca21398a04d699f639d3 (patch)
tree174e853a60870ef6c70a5ab04b1ead0e969244f0
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
-rw-r--r--satellit_installer/static_files/ipxe-bwlp/opt/openslx/ipxe-bwlp-config/console.h (renamed from satellit_installer/static_files/ipxe-bwlp/opt/openslx/ipxe/src/config/local/bwlp/console.h)0
-rw-r--r--satellit_installer/static_files/ipxe-bwlp/opt/openslx/ipxe-bwlp-config/general.h (renamed from satellit_installer/static_files/ipxe-bwlp/opt/openslx/ipxe/src/config/local/bwlp/general.h)0
-rw-r--r--satellit_installer/static_files/ipxe-bwlp/opt/openslx/ipxe-bwlp-config/settings.h (renamed from satellit_installer/static_files/ipxe-bwlp/opt/openslx/ipxe/src/config/local/bwlp/settings.h)0
-rw-r--r--satellit_upgrader/updater.template.sh2
4 files changed, 2 insertions, 0 deletions
diff --git a/satellit_installer/static_files/ipxe-bwlp/opt/openslx/ipxe/src/config/local/bwlp/console.h b/satellit_installer/static_files/ipxe-bwlp/opt/openslx/ipxe-bwlp-config/console.h
index 40659e0..40659e0 100644
--- a/satellit_installer/static_files/ipxe-bwlp/opt/openslx/ipxe/src/config/local/bwlp/console.h
+++ b/satellit_installer/static_files/ipxe-bwlp/opt/openslx/ipxe-bwlp-config/console.h
diff --git a/satellit_installer/static_files/ipxe-bwlp/opt/openslx/ipxe/src/config/local/bwlp/general.h b/satellit_installer/static_files/ipxe-bwlp/opt/openslx/ipxe-bwlp-config/general.h
index f89c9bc..f89c9bc 100644
--- a/satellit_installer/static_files/ipxe-bwlp/opt/openslx/ipxe/src/config/local/bwlp/general.h
+++ b/satellit_installer/static_files/ipxe-bwlp/opt/openslx/ipxe-bwlp-config/general.h
diff --git a/satellit_installer/static_files/ipxe-bwlp/opt/openslx/ipxe/src/config/local/bwlp/settings.h b/satellit_installer/static_files/ipxe-bwlp/opt/openslx/ipxe-bwlp-config/settings.h
index 309780f..309780f 100644
--- a/satellit_installer/static_files/ipxe-bwlp/opt/openslx/ipxe/src/config/local/bwlp/settings.h
+++ b/satellit_installer/static_files/ipxe-bwlp/opt/openslx/ipxe-bwlp-config/settings.h
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"