mirror of
https://github.com/frebib/dotfiles.git
synced 2024-06-14 12:57:23 +00:00
Add scripts for starting Windows 10 VM
This commit is contained in:
parent
8c6901e823
commit
a1987136e7
5
scripts/steamvm
Executable file
5
scripts/steamvm
Executable file
@ -0,0 +1,5 @@
|
||||
#!/bin/sh
|
||||
|
||||
sudo virsh start Windows-10
|
||||
|
||||
pidof synergyc &>/dev/null ; (synergyc --no-tray --debug INFO --name frebib-PC 10.0.4.2:24800 &>/dev/null && echo 'Synergy client started')
|
5
scripts/vmattach
Executable file
5
scripts/vmattach
Executable file
@ -0,0 +1,5 @@
|
||||
#!/bin/sh
|
||||
|
||||
for dev in "$@"; do
|
||||
sudo virsh attach-device Windows-10 /var/lib/libvirt/configs/hostdev-$dev.xml
|
||||
done
|
5
scripts/vmdetach
Executable file
5
scripts/vmdetach
Executable file
@ -0,0 +1,5 @@
|
||||
#!/bin/sh
|
||||
|
||||
for dev in "$@"; do
|
||||
sudo virsh detach-device Windows-10 /var/lib/libvirt/configs/hostdev-$dev.xml
|
||||
done
|
Loading…
Reference in New Issue
Block a user