Add user to podman group
This commit is contained in:
parent
930d2e2bb0
commit
d33068ce0c
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user