Add podman group. Add user to vmware group

This commit is contained in:
RealStickman 2021-03-31 15:33:58 +02:00
parent d33068ce0c
commit dcf1716efe

View File

@ -350,6 +350,7 @@ if [ $in_vmware15 -eq 1 ]; then
echo "Installing VMWare Workstation 15"
paru -S --needed vmware-workstation15
sudo groupadd -f vmware
sudo usermod -aG vmware "$USER"
sudo chgpr vmware /dev/vmnet*
sudo chmod g+rw /dev/vmnet*
else
@ -622,8 +623,8 @@ if [ $in_podman -eq 1 ]; then
sudo pacman -S --needed podman
sudo touch /etc/subuid /etc/subgid
sudo usermod --add-subuids 100000-165536 --add-subgids 100000-165536 "$USER"
sudo groupadd podman
sudo usermod -a -G podman "$USER"
sudo groupadd -f podman
sudo usermod -aG podman "$USER"
else
echo "Skipping podman"
fi