We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 4561580 + 9214ea6 commit 46aa594Copy full SHA for 46aa594
pkg/cidata/cidata.TEMPLATE.d/boot/20-rootless-base.sh
@@ -63,7 +63,11 @@ fi
63
64
# Set up subuid
65
for f in /etc/subuid /etc/subgid; do
66
- grep -qw "${LIMA_CIDATA_USER}" $f || echo "${LIMA_CIDATA_USER}:100000:65536" >>$f
+ # systemd-homed expects the subuid range to be within 524288-1878982656 (0x80000-0x6fff0000).
67
+ # See userdbctl.
68
+ # 1073741824 (1G) is just an arbitrary number.
69
+ # 1073741825-1878982656 is left blank for additional accounts.
70
+ grep -qw "${LIMA_CIDATA_USER}" $f || echo "${LIMA_CIDATA_USER}:524288:1073741824" >>$f
71
done
72
73
# Start systemd session
0 commit comments