
12 Feb
2016
12 Feb
'16
9:20 a.m.
Signed-off-by: Lucio Correia <luciojhc@linux.vnet.ibm.com> --- model/templates.py | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/model/templates.py b/model/templates.py index 053942a..8a29e02 100644 --- a/model/templates.py +++ b/model/templates.py @@ -166,6 +166,13 @@ class TemplateModel(object): old_t = self.lookup(name) new_t = copy.copy(old_t) + # Merge graphics settings + graph_args = params.get('graphics') + if graph_args: + graphics = dict(new_t['graphics']) + graphics.update(graph_args) + params['graphics'] = graphics + # Merge cpu_info settings new_cpu_info = params.get('cpu_info') if new_cpu_info: -- 1.9.1