Support Spice ticket.

This commit is contained in:
Michael Lipp 2023-06-20 12:00:02 +02:00
parent 12c2601b92
commit a2e9cd4f70
4 changed files with 23 additions and 1 deletions

View file

@ -184,7 +184,12 @@
<#assign spice = vm.display.spice/>
# SPICE (display, channels ...)
# https://www.linux-kvm.org/page/SPICE
- [ "-spice", "port=${ spice.port?c },disable-ticketing=on\
<#if ticketPath??>
- [ "-object", "secret,id=spiceTicket,file=${ ticketPath }" ]
</#if>
- [ "-spice", "port=${ spice.port?c }\
<#if spice.ticket??>,password-secret=spiceTicket\
<#else>,disable-ticketing=on</#if>\
<#if spice.streamingVideo??>,streaming-video=${ spice.streamingVideo }</#if>\
,seamless-migration=on" ]
- [ "-chardev", "spicevmc,id=vdagentdev,name=vdagent" ]