diff --git a/3progs.sh b/3progs.sh index efae798..f9c61e7 100644 --- a/3progs.sh +++ b/3progs.sh @@ -210,8 +210,9 @@ if [[ $user_choice = *"KVM QEMU - virtualizáció, virtuális gépek futtatása" sudo usermod -aG kvm $USER sudo usermod -aG input $USER sudo usermod -aG libvirt $USER - # qemu.conf sed parancs $USER-el hogy ne kelljen kezzel csinalni - + sudo sed -i '530d' /etc/libvirt/qemu.conf + sudo sed -i "530 i user = \"$USER"\" /etc/libvirt/qemu.conf + sudo sed -i 's/#group = "kvm"/group = "kvm"/' /etc/libvirt/qemu.conf echo ${bold}${yellow}KVM QEMU ${normal}installed. echo --------------------------------------------- echo