2024-07-17 12:18:27 +00:00
|
|
|
#!/bin/env fish
|
|
|
|
begin
|
|
|
|
set -l dir (status dirname)
|
|
|
|
source "$dir/../../Scripts/software.fish"
|
2024-10-13 13:35:24 +00:00
|
|
|
inherit "$dir/../../../Common/Software/virt-manager/main.fish"
|
2024-07-17 12:18:27 +00:00
|
|
|
|
|
|
|
function installSW
|
|
|
|
yayinst qemu-full
|
2024-07-28 21:45:30 +00:00
|
|
|
yes | runPacman --asdeps iptables-nft
|
2024-07-17 12:18:27 +00:00
|
|
|
|
2024-07-17 14:18:31 +00:00
|
|
|
yes | yayinst \
|
2024-07-17 12:18:27 +00:00
|
|
|
virtiofsd \
|
|
|
|
virt-manager \
|
|
|
|
dnsmasq \
|
|
|
|
swtpm \
|
|
|
|
lxc \
|
|
|
|
virt-bootstrap-git
|
|
|
|
end
|
|
|
|
|
2024-10-11 23:54:31 +00:00
|
|
|
function configureSW
|
2024-07-17 12:18:27 +00:00
|
|
|
sudo systemctl enable --now libvirtd
|
|
|
|
sudo systemctl enable --now virtlogd
|
2024-10-11 23:54:31 +00:00
|
|
|
configureSWBase $argv
|
2024-07-17 12:18:27 +00:00
|
|
|
end
|
|
|
|
|
|
|
|
runInstaller $argv
|
|
|
|
end
|