From 64188861158664f85d100d0df9cbfdda3707a61d Mon Sep 17 00:00:00 2001 From: Nico Jensch Date: Wed, 11 Nov 2020 15:01:12 +0100 Subject: [PATCH] Enable systemd & add user to groups --- usr/bin/setup-assistant | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/usr/bin/setup-assistant b/usr/bin/setup-assistant index 03953a1..cb50131 100755 --- a/usr/bin/setup-assistant +++ b/usr/bin/setup-assistant @@ -110,8 +110,12 @@ function upgrade2ultimate read virt if [ $virt = "1" ]; then echo "sudo pacman -Syu garuda-virtualbox" >> /tmp/setup-assistant/install-packages.sh + echo "usermod -aG vboxusers $user" >> /tmp/setup-assistant/install-packages.sh elif [ $virt = "2" ]; then echo "sudo pacman -Syu garuda-virt-manager" >> /tmp/setup-assistant/install-packages.sh + echo "sudo systemctl enable --now libvirtd" >> /tmp/setup-assistant/install-packages.sh + echo "usermod -aG libvirt $user" >> /tmp/setup-assistant/install-packages.sh + echo "usermod -aG kvm $user" >> /tmp/setup-assistant/install-packages.sh else echo "Thats not a valid choice! ❌" goto "virt-selection" fi