Adding original kd-win script for archive

This commit is contained in:
David Thurstenson 2020-08-11 12:05:17 -05:00
commit 78f12ccf47
1 changed files with 18 additions and 0 deletions

18
bin/kd-win Executable file
View File

@ -0,0 +1,18 @@
#!/usr/bin/env bash
#kd-win: virt-viewer launcher
domain="win10"
if [ "$1" = "-m" ]; then
virt-manager \
--connect=qemu:///system \
--show-domain-editor "$domain"
else
virt-viewer \
--connect=qemu:///system \
--wait \
--reconnect \
--domain-name \
"$domain"
fi