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