[elbe-devel] [RFC PATCH 3/5] config: Add rsyncport configuration

Olivier Dion dion at linutronix.de
Tue May 5 22:02:49 CEST 2020


Default port on the host side is 8730 to reflect the one choose for
devel guests.  However, this can be overriden by the ELBE_RSYNCPORT
environment variable.

Signed-off-by: Olivier Dion <dion at linutronix.de>
---
 elbepack/config.py | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/elbepack/config.py b/elbepack/config.py
index d04a315b..1d9611c4 100644
--- a/elbepack/config.py
+++ b/elbepack/config.py
@@ -15,6 +15,7 @@ class Config(dict):
         self['soapport'] = "7587"
         self['soaptimeout'] = 90
         self['sshport'] = "5022"
+        self['rsyncport'] = "8730"
         self['elbeuser'] = "root"
         self['elbepass'] = "foo"
         self['pbuilder_jobs'] = "auto"
@@ -48,4 +49,7 @@ class Config(dict):
         if 'ELBE_MIRROR_SED' in os.environ:
             self['mirrorsed'] = os.environ['ELBE_MIRROR_SED']
 
+        if 'ELBE_RSYNCPORT' in os.environ:
+            self['rsyncport'] = os.environ['ELBE_RSYNCPORT']
+
 cfg = Config()
-- 
2.26.2




More information about the elbe-devel mailing list