Skip to content
Snippets Groups Projects
Commit 6ab212f8 authored by Antoine Millet's avatar Antoine Millet
Browse files

Fixed vncport VM tag

parent 8449cd17
No related branches found
No related tags found
No related merge requests found
......@@ -147,7 +147,7 @@ def vncport(dom):
try:
port = et.ElementTree().parse(
StringIO(dom.lv_dom.XMLDesc(0))
).find('devices/graphics').get('port')
).find('devices/graphics[@type="vnc"]').get('port')
except Exception:
logger.exception('VNCPort')
raise
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment