[elbe-devel] [PATCH 5/7] config: add initvm_domain value setup via env ELBE_INITVM_DOMAIN

Torben Hohn torben.hohn at linutronix.de
Fri Apr 13 14:43:14 CEST 2018


Signed-off-by: Torben Hohn <torben.hohn at linutronix.de>
---
 elbepack/config.py | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/elbepack/config.py b/elbepack/config.py
index 37e1ee18..07a726ac 100644
--- a/elbepack/config.py
+++ b/elbepack/config.py
@@ -27,6 +27,7 @@ class Config(dict):
         self['elbeuser'] = "root"
         self['elbepass'] = "foo"
         self['pbuilder_jobs'] = "auto"
+        self['initvm_domain'] = "initvm"
 
         if 'ELBE_SOAPPORT' in os.environ:
             self['soapport'] = os.environ['ELBE_SOAPPORT']
@@ -43,5 +44,8 @@ class Config(dict):
         if 'ELBE_PBUILDER_JOBS' in os.environ:
             self['pbuilder_jobs'] = os.environ['ELBE_PBUILDER_JOBS']
 
+        if 'ELBE_INITVM_DOMAIN' in os.environ:
+            self['initvm_domain'] = os.environ['ELBE_INITVM_DOMAIN']
+
 
 cfg = Config()
-- 
2.11.0




More information about the elbe-devel mailing list