summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSimon Rettberg2019-10-28 16:18:01 +0100
committerSimon Rettberg2019-10-28 16:18:01 +0100
commitc9a9ea9eabbc2e537d272baca4e9579da54ecc5b (patch)
tree446ed18d275ef018f1c3daf9b3aef2ae3bf4af2a
parent[SSUS] Delete dnbd3's old "is-enabled" script (diff)
downloadsetup-scripts-c9a9ea9eabbc2e537d272baca4e9579da54ecc5b.tar.gz
setup-scripts-c9a9ea9eabbc2e537d272baca4e9579da54ecc5b.tar.xz
setup-scripts-c9a9ea9eabbc2e537d272baca4e9579da54ecc5b.zip
[SSUS] Install alt-servers file for dnbd3-server
-rwxr-xr-xsatellit_upgrader/pack-update.sh2
-rw-r--r--satellit_upgrader/updater.template.sh1
2 files changed, 2 insertions, 1 deletions
diff --git a/satellit_upgrader/pack-update.sh b/satellit_upgrader/pack-update.sh
index 64f7000..21e0e45 100755
--- a/satellit_upgrader/pack-update.sh
+++ b/satellit_upgrader/pack-update.sh
@@ -219,9 +219,9 @@ if [ -z "$LEAN" ]; then
addinstallfile "patch_lighttpd_phpchildren"
addinstallfile "dnbd3/dnbd3-server.service"
- addinstallfile "dnbd3/is-enabled"
addinstallfile "dnbd3/server.conf"
addinstallfile "dnbd3/rpc.acl"
+ addinstallfile "dnbd3/alt-servers"
addinstallfile "tftpd/tftpd-hpa.service"
addinstallfile "tftpd/tftpd-hpa"
diff --git a/satellit_upgrader/updater.template.sh b/satellit_upgrader/updater.template.sh
index adb70ac..d898f34 100644
--- a/satellit_upgrader/updater.template.sh
+++ b/satellit_upgrader/updater.template.sh
@@ -607,6 +607,7 @@ fi
# config
diffcp "dnbd3/server.conf" "/etc/dnbd3-server/server.conf"
diffcp "dnbd3/rpc.acl" "/etc/dnbd3-server/rpc.acl"
+diffcp "dnbd3/alt-servers" "/etc/dnbd3-server/alt-servers"
rm -f -- "$PATH_DNBD3/is-enabled"
if [ -n "$TGZ_DNBD3" ]; then