[elbe-devel] [PATCH 4/6] xmldefaults: add defaults for mem and swap-size
Manuel Traut
manuel.traut at linutronix.de
Mon May 7 16:33:30 CEST 2018
On Mon, May 07, 2018 at 03:51:13PM +0200, Torben Hohn wrote:
> 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"
> }
needs rework, see comment in 3/6
> defaults = {"armel": armel_defaults,
> --
> 2.11.0
>
>
> _______________________________________________
> elbe-devel mailing list
> elbe-devel at linutronix.de
> https://lists.linutronix.de/mailman/listinfo/elbe-devel
More information about the elbe-devel
mailing list