From 762994933022552dd8a7ac57a137a9362e962d4b Mon Sep 17 00:00:00 2001 From: Simon Rettberg Date: Tue, 22 Sep 2020 11:36:15 +0200 Subject: [dnbd3-proxy-mode] Fix proxy mode with firewalling DNBD3_PORT was set after use. --- .../dnbd3-proxy-mode/data/opt/openslx/scripts/systemd-setup_dnbd3_proxy | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'core/modules/dnbd3-proxy-mode') diff --git a/core/modules/dnbd3-proxy-mode/data/opt/openslx/scripts/systemd-setup_dnbd3_proxy b/core/modules/dnbd3-proxy-mode/data/opt/openslx/scripts/systemd-setup_dnbd3_proxy index 0f811d1d..589e43ba 100755 --- a/core/modules/dnbd3-proxy-mode/data/opt/openslx/scripts/systemd-setup_dnbd3_proxy +++ b/core/modules/dnbd3-proxy-mode/data/opt/openslx/scripts/systemd-setup_dnbd3_proxy @@ -52,6 +52,7 @@ disksize () { fi } +DNBD3_PORT=5003 # Creates the DNBD3 server configuration under DNBD3_CONF_DIR DNBD3_CONF_DIR="/etc/dnbd3-server" if ! mkdir -p "${DNBD3_CONF_DIR}"; then @@ -226,7 +227,6 @@ EOF fi -DNBD3_PORT=5003 rm -f "${DNBD3_CONF_DIR}/server.conf" # Refer to http://git.openslx.org/dnbd3.git/tree/conf for configuration options cat << EOF > "${DNBD3_CONF_DIR}/server.conf" -- cgit v1.2.3-55-g7522