added default network autostart to kvm

This commit is contained in:
RP1 2025-01-16 11:12:59 +01:00
parent b316411e68
commit 319c6a293b

View file

@ -245,6 +245,7 @@ if [[ $user_choice = *"KVM QEMU - virtualizáció, virtuális gépek futtatása"
sudo sed -i 's/#group = "kvm"/group = "kvm"/' /etc/libvirt/qemu.conf sudo sed -i 's/#group = "kvm"/group = "kvm"/' /etc/libvirt/qemu.conf
sudo systemctl enable libvirtd.service sudo systemctl enable libvirtd.service
sudo systemctl start libvirtd.service sudo systemctl start libvirtd.service
sudo virsh net-autostart default
echo ${bold}${yellow}KVM QEMU ${normal}installed. echo ${bold}${yellow}KVM QEMU ${normal}installed.
echo --------------------------------------------- echo ---------------------------------------------