From d1f27084c71885963b7fba9758b8377401e4cf02 Mon Sep 17 00:00:00 2001 From: Charles Short Date: Thu, 13 Jan 2022 10:46:11 -0500 Subject: [PATCH] Add missing group Debian does not ship a "nobody" group by default, its needed for some puppet manifests so add it when the ISO is built. Story: 2009101 Task: 44285 Signed-off-by: Charles Short Change-Id: I19efdd7ffdb1847554d514674875b08cdf428249 --- debian-mirror-tools/config/debian/common/base-bullseye.yaml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/debian-mirror-tools/config/debian/common/base-bullseye.yaml b/debian-mirror-tools/config/debian/common/base-bullseye.yaml index 88046b29e..69b992b8a 100644 --- a/debian-mirror-tools/config/debian/common/base-bullseye.yaml +++ b/debian-mirror-tools/config/debian/common/base-bullseye.yaml @@ -39,6 +39,11 @@ rootfs-pre-scripts: apt install -y --allow-downgrades --allow-unauthenticated --no-install-recommends ostree ostree-boot libostree-1-1 ostree-upgrade-mgr apt install --no-install-recommends -y network-manager SCRIPT_ENDOF +- | + export PATH=/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin + chroot $IMAGE_ROOTFS bash << SCRIPT_ENDOF + groupadd nobody + SCRIPT_ENDOF rootfs-post-scripts: - |- # Remove user admin whether it exists or not