Support Spice ticket.
This commit is contained in:
parent
12c2601b92
commit
a2e9cd4f70
4 changed files with 23 additions and 1 deletions
|
|
@ -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" ]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue