1
0
Fork 0
mirror of synced 2024-11-22 01:55:36 -05:00

Enable systemd & add user to groups

This commit is contained in:
Nico Jensch 2020-11-11 15:01:12 +01:00
parent cff3871512
commit 6418886115

View file

@ -110,8 +110,12 @@ function upgrade2ultimate
read virt read virt
if [ $virt = "1" ]; then if [ $virt = "1" ]; then
echo "sudo pacman -Syu garuda-virtualbox" >> /tmp/setup-assistant/install-packages.sh 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 elif [ $virt = "2" ]; then
echo "sudo pacman -Syu garuda-virt-manager" >> /tmp/setup-assistant/install-packages.sh 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! ❌" else echo "Thats not a valid choice! ❌"
goto "virt-selection" goto "virt-selection"
fi fi