[elbe-devel] [PATCH] libvirt.xml.mako: use correct type for comments

Manuel Traut manut at linutronix.de
Fri Apr 13 20:46:16 CEST 2018


the semi-automatic insertion of copyright statements added copyright
statements starting with '#' but in mako files '##' is needed.

this fixes the following message, that occurs during elbe initvm create

--8<--
libvirt: Domain Config error : (domain_definition):1: Start tag expected, '<' not found
^
Traceback (most recent call last):
  File "./elbe", line 55, in <module>
    cmdmod.run_command(sys.argv[2:])
  File "/home/local/projects/elbe/elbe/elbepack/commands/initvm.py", line 88, in run_command
    action.execute(directory, opt, args[1:])
  File "/home/local/projects/elbe/elbe/elbepack/initvmaction.py", line 338, in execute
    self.conn.defineXML(xml)
  File "/usr/lib/python2.7/dist-packages/libvirt.py", line 3677, in defineXML
    if ret is None:raise libvirtError('virDomainDefineXML() failed', conn=self)
libvirt.libvirtError: (domain_definition):1: Start tag expected, '<' not found
^
--8<--

Signed-off-by: Manuel Traut <manut at linutronix.de>

This is already applied on devel/elbe-3.0

---
 elbepack/init/libvirt.xml.mako | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/elbepack/init/libvirt.xml.mako b/elbepack/init/libvirt.xml.mako
index 18f482e8..8fc43199 100644
--- a/elbepack/init/libvirt.xml.mako
+++ b/elbepack/init/libvirt.xml.mako
@@ -1,6 +1,6 @@
 ## ELBE - Debian Based Embedded Rootfilesystem Builder
-# Copyright (c) 2017 Philipp Arras <philipp.arras at linutronix.de>
-# Copyright (c) 2017 Manuel Traut <manut at linutronix.de>
+## Copyright (c) 2017 Philipp Arras <philipp.arras at linutronix.de>
+## Copyright (c) 2017 Manuel Traut <manut at linutronix.de>
 ##
 ## SPDX-License-Identifier: GPL-3.0-or-later
 ##
-- 
2.17.0




More information about the elbe-devel mailing list