Skip to content

Commit fcb6e97

Browse files
committed
incus: remove subuid / subgid creation from sysext
This create more issues than it solves: * override existing subuid / subgid * not flexible for the end user * it has to be created only once (while tmpfiles always try to create those files) I think Flatcar should not be responsible to create this and it should be documented on how to do it through Ignition: ```yaml version: 1.1.0 variant: flatcar storage: files: - path: /etc/subuid append: - inline: | root:1065536:65536 - path: /etc/subgid append: - inline: | root:1065536:65536 ``` Signed-off-by: Mathieu Tortuyaux <[email protected]>
1 parent 17792e7 commit fcb6e97

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

build_library/sysext_mangle_flatcar-incus

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,6 @@ mkdir -p ./usr/lib/tmpfiles.d
1414
pushd ./usr/lib/tmpfiles.d
1515
cat <<EOF >./10-incus.conf
1616
d /var/lib/lxc/rootfs 0755 root root - -
17-
w+ /etc/subuid - - - - root:1065536:65536
18-
w+ /etc/subgid - - - - root:1065536:65536
1917
EOF
2018
popd
2119

0 commit comments

Comments
 (0)