auto qemu.conf edit added with variable
This commit is contained in:
parent
4284e9431a
commit
9d5ea9dcbb
1 changed files with 3 additions and 2 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue