1
0
Fork 0

minor cleanup

This commit is contained in:
Pratham Patel 2023-03-12 16:34:30 +05:30
parent 631d6ba92e
commit 84ea83dbf0
1 changed files with 2 additions and 2 deletions

View File

@ -156,12 +156,11 @@ tldr --update
flatpak --user remote-add --if-not-exists flathub https://flathub.org/repo/flathub.flatpakrepo
flatpak install --user flathub com.brave.Browser com.discordapp.Discord com.github.tchx84.Flatseal io.gitlab.librewolf-community org.raspberrypi.rpi-imager
#
################################################################################
# VIRSH POOLS + NETWORK
################################################################################
LIBVIRTD_RESTART=no
groups | grep "libvirt" > /dev/null || doas adduser pratham libvirt
groups | grep "kvm" > /dev/null || doas adduser pratham kvm
@ -169,6 +168,7 @@ groups | grep "kvm" > /dev/null || doas adduser pratham kvm
doas virsh net-info default | grep "Autostart" | grep "no" > /dev/null && doas virsh net-autostart default
# storage pool
LIBVIRTD_RESTART=no
doas virsh pool-dumpxml default | grep "/flameboi_st/vm-store" > /dev/null
if [[ $? -ne 0 ]]; then
doas virsh pool-destroy default