diff options
author | Simon Rettberg | 2020-09-22 11:36:15 +0200 |
---|---|---|
committer | Simon Rettberg | 2020-09-22 11:36:15 +0200 |
commit | 762994933022552dd8a7ac57a137a9362e962d4b (patch) | |
tree | 0e7d8ece1f8f19647d42e282ad34b57982817093 /core/modules/dnbd3-proxy-mode | |
parent | [remote-access] Disable ZaphodHead on intel (diff) | |
download | mltk-762994933022552dd8a7ac57a137a9362e962d4b.tar.gz mltk-762994933022552dd8a7ac57a137a9362e962d4b.tar.xz mltk-762994933022552dd8a7ac57a137a9362e962d4b.zip |
[dnbd3-proxy-mode] Fix proxy mode with firewalling
DNBD3_PORT was set after use.
Diffstat (limited to 'core/modules/dnbd3-proxy-mode')
-rwxr-xr-x | core/modules/dnbd3-proxy-mode/data/opt/openslx/scripts/systemd-setup_dnbd3_proxy | 2 |
1 files changed, 1 insertions, 1 deletions
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" |