aboutsummaryrefslogtreecommitdiff
path: root/virt/virt-serial
diff options
context:
space:
mode:
authorKarel Kočí <cynerd@email.cz>2018-04-03 11:59:46 +0200
committerKarel Kočí <cynerd@email.cz>2018-04-03 11:59:46 +0200
commit4e4d389127254c7404bc71a308129966bd9a8b07 (patch)
treec8c6ebbe04ec8d59bcba6d5a1ed9a19e1e10a037 /virt/virt-serial
parent4f7d84558d33ed36a1641de0637895446cbc9048 (diff)
downloadmulticonfig-4e4d389127254c7404bc71a308129966bd9a8b07.tar.gz
multiconfig-4e4d389127254c7404bc71a308129966bd9a8b07.tar.bz2
multiconfig-4e4d389127254c7404bc71a308129966bd9a8b07.zip
Add correct virt-serial file
Diffstat (limited to 'virt/virt-serial')
-rwxr-xr-xvirt/virt-serial8
1 files changed, 7 insertions, 1 deletions
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