diff options
author | Karel Kočí <cynerd@email.cz> | 2018-04-03 11:59:46 +0200 |
---|---|---|
committer | Karel Kočí <cynerd@email.cz> | 2018-04-03 11:59:46 +0200 |
commit | 4e4d389127254c7404bc71a308129966bd9a8b07 (patch) | |
tree | c8c6ebbe04ec8d59bcba6d5a1ed9a19e1e10a037 /virt/virt-serial | |
parent | 4f7d84558d33ed36a1641de0637895446cbc9048 (diff) | |
download | multiconfig-4e4d389127254c7404bc71a308129966bd9a8b07.tar.gz multiconfig-4e4d389127254c7404bc71a308129966bd9a8b07.tar.bz2 multiconfig-4e4d389127254c7404bc71a308129966bd9a8b07.zip |
Add correct virt-serial file
Diffstat (limited to 'virt/virt-serial')
-rwxr-xr-x | virt/virt-serial | 8 |
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 |