Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ilab-wrapper: don't map UIDs if we're already running as root
# Background See df88857 # Issue Introduced a regression [1] where it's no longer possible to run the script as root, as the subuid map ends up being empty and this causes an error: ``` Error: invalid empty host id at UID map: [1 1] ``` # Solution Avoid UID mapping if we're already running as root. # Motivation We want to also be able to run the script as root, for example as part of a systemd service. [1] RHELAI-798
- Loading branch information