This commit is contained in:
Your Name 2024-07-29 13:53:41 -06:00
parent b2c77d1fee
commit abd3139635

View File

@ -168,7 +168,9 @@ basic-security() {
virtualization() {
ip link del virbr0
killall dnsmasq
/usr/bin/systemctl restart libvirtd
sleep 10
$NFT insert rule filter input iif $VIRT_BRIDGE $NFT_ACCEPT
/usr/bin/virsh net-start default
}
@ -317,6 +319,8 @@ stop() {
if [ "$1" = "start" ]; then
start
elif [ "$1" = "virt" ]; then
virtualization
elif [ "$1" = "fediblock" ]; then
fediblock
elif [ "$1" = "bot-search" ]; then