PortValhalla/scripts/Arch/Software/Virtual Machine Manager/main.fish

29 lines
621 B
Fish

#!/bin/env fish
begin
set -l dir (status dirname)
source "$dir/../../Scripts/software.fish"
function installSW
yayinst qemu-full
yes | yayinst \
virtiofsd \
virt-manager \
dnsmasq \
iptables-nft \
swtpm \
lxc \
virt-bootstrap-git
configureSW
end
function configureSW -V dir
sudo systemctl enable --now libvirtd
sudo systemctl enable --now virtlogd
fish "$dir/../../../Common/Software/Virtual Machine Manager/main.fish" configure
end
runInstaller $argv
end