auto qemu.conf edit with variable added

This commit is contained in:
RP1 2024-12-09 21:08:09 +01:00
parent 9d5ea9dcbb
commit 59eee70bf1

View file

@ -213,6 +213,7 @@ if [[ $user_choice = *"KVM QEMU - virtualizáció, virtuális gépek futtatása"
sudo sed -i '530d' /etc/libvirt/qemu.conf sudo sed -i '530d' /etc/libvirt/qemu.conf
sudo sed -i "530 i user = \"$USER"\" /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 sudo sed -i 's/#group = "kvm"/group = "kvm"/' /etc/libvirt/qemu.conf
echo ${bold}${yellow}KVM QEMU ${normal}installed. echo ${bold}${yellow}KVM QEMU ${normal}installed.
echo --------------------------------------------- echo ---------------------------------------------
echo echo