PortValhalla/scripts/Common/Software/Virtual Machine Manager/main.fish
2024-10-06 21:25:34 +02:00

21 lines
441 B
Fish
Executable file

#!/bin/env fish
begin
set -l dir (status dirname)
source "$dir/../../Scripts/software.fish"
function configureSW
begin
sudo virsh net-info default | grep "^Active:\s*yes\$" >/dev/null
end || sudo virsh net-start default
and sudo virsh net-autostart default
or true
end
function userConfig -a name
sudo usermod -aG libvirt "$name"
end
runInstaller $argv
end