From b63a505f182080be0213689e2d9123f448ae79f8 Mon Sep 17 00:00:00 2001 From: Brian Cook Date: Wed, 17 Jul 2024 17:42:31 -0400 Subject: [PATCH] remove the rm stuff since tmpfs is working to disable subscription-manager --- task/buildah-remote-oci-ta/0.1/buildah-remote-oci-ta.yaml | 4 ---- 1 file changed, 4 deletions(-) diff --git a/task/buildah-remote-oci-ta/0.1/buildah-remote-oci-ta.yaml b/task/buildah-remote-oci-ta/0.1/buildah-remote-oci-ta.yaml index 680b91ea15..c12816744b 100644 --- a/task/buildah-remote-oci-ta/0.1/buildah-remote-oci-ta.yaml +++ b/task/buildah-remote-oci-ta/0.1/buildah-remote-oci-ta.yaml @@ -380,10 +380,6 @@ spec: done < <(find $ADDITIONAL_SECRET_TMP -maxdepth 1 -type f -exec basename {} \;) fi - # this prevents the container from using podman-subscripition-mananger magic, - # so that it will use certificates from /etc/pki/entitlements - # rm -f /usr/share/containers/mounts.conf - unshare -Uf $UNSHARE_ARGS --keep-caps -r --map-users 1,1,65536 --map-groups 1,1,65536 -w ${SOURCE_CODE_DIR}/$CONTEXT -- buildah build \ $VOLUME_MOUNTS \ "${BUILDAH_ARGS[@]}" \