[elbe-devel] [PATCH 4/6] xmldefaults: add defaults for mem and swap-size

Torben Hohn torben.hohn at linutronix.de
Mon May 7 15:51:13 CEST 2018


when adding mem and swap-size, we need proper defaults, for xml
files not specifying these.

mem and swap-size will be evaluated in libvirt.xml.mako in a later patch

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

diff --git a/elbepack/xmldefaults.py b/elbepack/xmldefaults.py
index ebaafcaf..02eecb11 100644
--- a/elbepack/xmldefaults.py
+++ b/elbepack/xmldefaults.py
@@ -154,6 +154,8 @@ archindep_defaults = {
     "name": "elbe-buildenv",
     "size": "20G",
     "img": "qcow2",
+    "mem": "1048576",
+    "swap-size": "0"
 }
 
 defaults = {"armel": armel_defaults,
-- 
2.11.0




More information about the elbe-devel mailing list