fix: Remove PrivateUsers from workspace.nspawn to fix nested container issue
Error: Failed to adjust UID/GID shift of OS tree Cause: Cannot use PrivateUsers inside a container that already uses it Solution: Remove PrivateUsers=pick from workspace.nspawn
This commit is contained in:
@@ -36,7 +36,6 @@ mkdir -p $ROOTFS/etc/systemd/nspawn
|
|||||||
cat > $ROOTFS/etc/systemd/nspawn/workspace.nspawn <<'EOF'
|
cat > $ROOTFS/etc/systemd/nspawn/workspace.nspawn <<'EOF'
|
||||||
[Exec]
|
[Exec]
|
||||||
Boot=yes
|
Boot=yes
|
||||||
PrivateUsers=pick
|
|
||||||
ResolvConf=copy-host
|
ResolvConf=copy-host
|
||||||
|
|
||||||
[Files]
|
[Files]
|
||||||
|
|||||||
Reference in New Issue
Block a user