mirror of
https://github.com/mofeng-git/One-KVM.git
synced 2025-12-12 01:00:29 +08:00
testenv: Use memsink for VNC
This commit is contained in:
parent
ada1c39eef
commit
e0bbf6968e
2
Makefile
2
Makefile
@ -102,6 +102,7 @@ $(TESTENV_GPIO):
|
|||||||
|
|
||||||
run: testenv $(TESTENV_GPIO)
|
run: testenv $(TESTENV_GPIO)
|
||||||
- $(DOCKER) run --rm --name kvmd \
|
- $(DOCKER) run --rm --name kvmd \
|
||||||
|
--ipc=shareable \
|
||||||
--privileged \
|
--privileged \
|
||||||
--volume `pwd`/testenv/run:/run/kvmd:rw \
|
--volume `pwd`/testenv/run:/run/kvmd:rw \
|
||||||
--volume `pwd`/testenv:/testenv:ro \
|
--volume `pwd`/testenv:/testenv:ro \
|
||||||
@ -187,6 +188,7 @@ run-ipmi: testenv
|
|||||||
|
|
||||||
run-vnc: testenv
|
run-vnc: testenv
|
||||||
- $(DOCKER) run --rm --name kvmd-vnc \
|
- $(DOCKER) run --rm --name kvmd-vnc \
|
||||||
|
--ipc=container:kvmd \
|
||||||
--volume `pwd`/testenv/run:/run/kvmd:rw \
|
--volume `pwd`/testenv/run:/run/kvmd:rw \
|
||||||
--volume `pwd`/testenv:/testenv:ro \
|
--volume `pwd`/testenv:/testenv:ro \
|
||||||
--volume `pwd`/kvmd:/kvmd:ro \
|
--volume `pwd`/kvmd:/kvmd:ro \
|
||||||
|
|||||||
@ -35,6 +35,8 @@ kvmd:
|
|||||||
- "--process-name-prefix={process_name_prefix}"
|
- "--process-name-prefix={process_name_prefix}"
|
||||||
- "--notify-parent"
|
- "--notify-parent"
|
||||||
- "--no-log-colors"
|
- "--no-log-colors"
|
||||||
|
- "--jpeg-sink=kvmd::ustreamer::jpeg"
|
||||||
|
- "--jpeg-sink-mode=0660"
|
||||||
|
|
||||||
gpio:
|
gpio:
|
||||||
drivers:
|
drivers:
|
||||||
@ -148,8 +150,6 @@ vnc:
|
|||||||
enabled: true
|
enabled: true
|
||||||
|
|
||||||
memsink:
|
memsink:
|
||||||
jpeg:
|
|
||||||
sink: ""
|
|
||||||
h264:
|
h264:
|
||||||
sink: ""
|
sink: ""
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user