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

32 lines
723 B
Fish
Raw Normal View History

#!/bin/env fish
begin
set -l dir (status dirname)
2024-09-21 15:31:49 +00:00
set -l base "$dir/../../../Common/Software/Virtual Machine Manager/main.fish"
source "$dir/../../Scripts/software.fish"
function installSW
yayinst qemu-full
2024-07-28 21:45:30 +00:00
yes | runPacman --asdeps iptables-nft
2024-07-17 14:18:31 +00:00
yes | yayinst \
virtiofsd \
virt-manager \
dnsmasq \
swtpm \
lxc \
virt-bootstrap-git
end
2024-09-21 15:31:49 +00:00
function configureSW -V base
sudo systemctl enable --now libvirtd
sudo systemctl enable --now virtlogd
2024-09-21 15:31:49 +00:00
fish "$base" configure
end
function userConfig -V base
fish "$base" userConfig $argv
end
runInstaller $argv
end