summaryrefslogtreecommitdiff
path: root/kvmd/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'kvmd/Makefile')
-rw-r--r--kvmd/Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/kvmd/Makefile b/kvmd/Makefile
index 0f23dfb3..97af5774 100644
--- a/kvmd/Makefile
+++ b/kvmd/Makefile
@@ -1,8 +1,10 @@
TESTENV_IMAGE ?= kvmd-testenv
+TESTENV_HID ?= /dev/ttyS10
TESTENV_VIDEO ?= /dev/video0
TESTENV_LOOP ?= /dev/loop7
TESTENV_CMD ?= /bin/bash -c " \
- nginx -c /testenv/nginx.conf \
+ (socat PTY,link=$(TESTENV_HID) PTY,link=/dev/ttyS11 &) \
+ && nginx -c /testenv/nginx.conf \
&& ln -s $(TESTENV_VIDEO) /dev/kvmd-streamer \
&& (losetup -d /dev/kvmd-msd || true) \
&& losetup /dev/kvmd-msd /root/loop.img \