This commit is contained in:
Anthony Wang 2021-08-03 08:50:39 -05:00
parent c6ef272a44
commit 366512c0f6
Signed by: a
GPG key ID: BC96B00AEC5F2D76

View file

@ -63,6 +63,6 @@ os.system('sudo -u ' + username + ' xdg-settings set default-web-browser firefox
# Set up rootless Podman
# https://wiki.archlinux.org/title/Podman#Set_subuid_and_subgid
start = str((uid - 999) * 100000)
end = str(int(start) + 65536) # Allocate 65536 UIDs
end = str(int(start) + 65535) # Allocate 65536 UIDs
os.system('sudo usermod --add-subuids ' + start + '-' + end + ' --add-subgids ' + start + '-' + end)