2024-07-17 12:18:27 +00:00
|
|
|
#!/bin/env fish
|
|
|
|
begin
|
|
|
|
set -l dir (status dirname)
|
|
|
|
source "$dir/../../Scripts/software.fish"
|
|
|
|
|
|
|
|
function installSW
|
|
|
|
yayinst qemu-full
|
|
|
|
|
2024-07-17 14:18:31 +00:00
|
|
|
yes | yayinst \
|
2024-07-17 12:18:27 +00:00
|
|
|
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
|
|
|
|
source "$dir/../../../Common/Software/Virtual Machine Manager/main.fish" configure
|
|
|
|
end
|
|
|
|
|
|
|
|
runInstaller $argv
|
|
|
|
end
|