Add podman group. Add user to vmware group
This commit is contained in:
parent
d33068ce0c
commit
dcf1716efe
@ -350,6 +350,7 @@ if [ $in_vmware15 -eq 1 ]; then
|
|||||||
echo "Installing VMWare Workstation 15"
|
echo "Installing VMWare Workstation 15"
|
||||||
paru -S --needed vmware-workstation15
|
paru -S --needed vmware-workstation15
|
||||||
sudo groupadd -f vmware
|
sudo groupadd -f vmware
|
||||||
|
sudo usermod -aG vmware "$USER"
|
||||||
sudo chgpr vmware /dev/vmnet*
|
sudo chgpr vmware /dev/vmnet*
|
||||||
sudo chmod g+rw /dev/vmnet*
|
sudo chmod g+rw /dev/vmnet*
|
||||||
else
|
else
|
||||||
@ -622,8 +623,8 @@ if [ $in_podman -eq 1 ]; then
|
|||||||
sudo pacman -S --needed podman
|
sudo pacman -S --needed podman
|
||||||
sudo touch /etc/subuid /etc/subgid
|
sudo touch /etc/subuid /etc/subgid
|
||||||
sudo usermod --add-subuids 100000-165536 --add-subgids 100000-165536 "$USER"
|
sudo usermod --add-subuids 100000-165536 --add-subgids 100000-165536 "$USER"
|
||||||
sudo groupadd podman
|
sudo groupadd -f podman
|
||||||
sudo usermod -a -G podman "$USER"
|
sudo usermod -aG podman "$USER"
|
||||||
else
|
else
|
||||||
echo "Skipping podman"
|
echo "Skipping podman"
|
||||||
fi
|
fi
|
||||||
|
Loading…
Reference in New Issue
Block a user