#!/bin/bash
pushd "${BASH_SOURCE%/*}" > /dev/null;

yes | yay --answerclean=None --answerdiff=None -Syu \
    qemu-virtiofsd \
    qemu-full;

yes | yay --answerclean=None --answerdiff=None -Syu \
    virt-manager \
    dnsmasq \
    iptables-nft \
    swtpm \
    lxc \
    virt-bootstrap-git;

sudo systemctl enable --now libvirtd;
sudo systemctl enable --now virtlogd;
. "../../../Common/Config/Virtual Machine Manager/install.sh";

popd > /dev/null;