<div dir="rtl"><div dir="ltr"><br><br>i want to disable ticket in spice protocol so i should use vdsm hook for edit xml. this is my script and i want to run in all vm, i mean i don't need custom probreties , no error found in vdsm log and vm is work but nothing happened for disable ticket i try another attribute as example 'type' i put vnc instend of spice and nothing happened stay spice ....<br>
<br>what i must do ??? <br><br>this my script:<br><br>#!/usr/bin/python<br><br>import os<br>import sys<br>import hooking<br>import traceback<br><br>try:<br> domxml = hooking.read_domxml()<br> graphics = domxml.getElementsByTagName('graphics')[0]<br>
graphics.setAttribute('disable-ticketing','true')<br> hooking.write_domxml(domxml)<br>except:<br> sys.stderr.write('ticket: [unexpected error]: %s\n' % traceback.format_exc())<br>
sys.exit(2)<br><br></div><div dir="ltr">i search in libvirt xml about disable-ticketing schema but i don't found <br><a href="http://libvirt.org/formatdomain.html">http://libvirt.org/formatdomain.html</a><br><br>
<br></div><div dir="ltr">i need disable ticket because i want use thin client hardware which connect by spice protocol but i donn't want every connection create ticket by computer machine.. <br></div><div dir="ltr"><br>
</div><div dir="ltr"><br></div></div>