Enable systemd & add user to groups
This commit is contained in:
parent
cff3871512
commit
6418886115
1 changed files with 4 additions and 0 deletions
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue