Add user to podman group

This commit is contained in:
RealStickman 2021-03-31 15:31:14 +02:00
parent 930d2e2bb0
commit d33068ce0c

View File

@ -622,6 +622,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 usermod -a -G podman "$USER"
else else
echo "Skipping podman" echo "Skipping podman"
fi fi