[elbe-devel] [PATCH 7/9] elbepack: init: stop passing configuration to templates
Thomas Weißschuh
thomas.weissschuh at linutronix.de
Thu Aug 1 12:40:28 CEST 2024
The templates are not using it anymore.
Signed-off-by: Thomas Weißschuh <thomas.weissschuh at linutronix.de>
---
elbepack/init/__init__.py | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/elbepack/init/__init__.py b/elbepack/init/__init__.py
index f6cac5a7c27e..879b31f970ce 100644
--- a/elbepack/init/__init__.py
+++ b/elbepack/init/__init__.py
@@ -9,7 +9,6 @@ import shutil
import subprocess
import elbepack.init
-from elbepack.config import cfg
from elbepack.debinstaller import NoKinitrdException, copy_kinitrd
from elbepack.shellhelper import do
from elbepack.templates import get_initvm_preseed, write_template
@@ -61,7 +60,8 @@ def create_initvm(name, xmlfile, directory, *,
elbe_exe = '/var/cache/elbe/devel/elbe'
prj = xml.node('/initvm')
- d = {'elbe_exe': elbe_exe,
+ d = {
+ 'elbe_exe': elbe_exe,
'elbe_version': elbe_version,
'is_devel': is_devel,
'defs': defs,
@@ -75,7 +75,7 @@ def create_initvm(name, xmlfile, directory, *,
'preseed': get_initvm_preseed(xml),
'soapport': soapport,
'sshport': sshport,
- 'cfg': cfg}
+ }
if http_proxy != '':
os.putenv('http_proxy', http_proxy)
--
2.45.2
More information about the elbe-devel
mailing list