don't purg sub id files

they are needed so sub ids actually get created

from the manpage:

> Note, that newusers, useradd, and usermod will only create entries
> in /etc/subuid if subid delegation is managed via subid files.
This commit is contained in:
Harald Sitter
2025-09-19 23:47:04 +02:00
parent 4e327bff28
commit 4961085425

View File

@@ -40,11 +40,14 @@ rm --force \
group- \
localtime \
machine-id \
subuid \
subgid- \
subgid \
subgid- \
crypttab \
vconsole.conf \
hostname \
locale.conf
# These are actually needed and must be copied from the factory onto the host. If they are missing useradd will
# not configure subuids, breaking podman for instance.
# subuid \
# subgid- \
# subgid \
# subgid- \