From 4e4d389127254c7404bc71a308129966bd9a8b07 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Karel=20Ko=C4=8D=C3=AD?= Date: Tue, 3 Apr 2018 11:59:46 +0200 Subject: Add correct virt-serial file --- virt/virt-serial | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/virt/virt-serial b/virt/virt-serial index cd6e173..487b97b 100755 --- a/virt/virt-serial +++ b/virt/virt-serial @@ -1,2 +1,8 @@ #!/bin/sh -socat - UNIX-CONNECT:/run/virt/$1/serial.sock + +# TODO check with root permission that virtual doesn't running + +. /etc/conf.d/virt.$1 + +sudo qemu-system-x86_64 -runas qemu $ARGS -nographic +#sudo qemu-system-x86_64 -runas qemu $ARGS -curses -- cgit v1.2.3