gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[taler-sandcastle-ng] 03/08: sandcastle-run: Add support for specifying


From: gnunet
Subject: [taler-sandcastle-ng] 03/08: sandcastle-run: Add support for specifying the host ip to listen on.
Date: Tue, 10 Dec 2024 19:25:56 +0100

This is an automated email from the git hooks/post-receive script.

dold pushed a commit to branch master
in repository sandcastle-ng.

commit 3c0f89288e1f519fda87e30b9f2f4c50c181d460
Author: Hartmut Goebel <h.goebel@crazy-compilers.com>
AuthorDate: Mon Dec 9 21:55:45 2024 +0100

    sandcastle-run: Add support for specifying the host ip to listen on.
---
 sandcastle-run | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/sandcastle-run b/sandcastle-run
index d038add..3b0220c 100755
--- a/sandcastle-run
+++ b/sandcastle-run
@@ -42,9 +42,10 @@ SETUP_NAME=${SANDCASTLE_SETUP_NAME:-demo}
 if [[ -n ${SANDCASTLE_OVERRIDE_NAME:-} ]]; then
   OVERRIDES="-v $PWD/overrides/${SANDCASTLE_OVERRIDE_NAME}:/overrides:Z"
   EXTERNAL_PORT=$(source $PWD/overrides/${SANDCASTLE_OVERRIDE_NAME}; echo 
${EXTERNAL_PORT:-})
+  EXTERNAL_IP=$(source $PWD/overrides/${SANDCASTLE_OVERRIDE_NAME}; echo 
${EXTERNAL_IP:-})
   if [[ $EXTERNAL_PORT =~ ^[0-9]+$ ]]; then
     echo Serving via port $EXTERNAL_PORT
-    PUBLISH_EXTERNAL_PORT="-p=${EXTERNAL_PORT}:${EXTERNAL_PORT}"
+    
PUBLISH_EXTERNAL_PORT="-p=${EXTERNAL_IP}${EXTERNAL_IP:+:}${EXTERNAL_PORT}:${EXTERNAL_PORT}"
   fi
 else
   OVERRIDES=""

-- 
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]