diskimage-builder/releasenotes/notes/fix-2069956-396eb9f5fb928e2d.yaml
Mark Goddard 9767cd564f Fix manifest element with non-root user
When building an image with the manifests element as a non-root user,
the image can fail to build. This affects the Ironic Python Agent (IPA)
image.

The issue was permission denied when copying the manifests from the
image build directory due to them being owned by the root user.

This change fixes the issue by copying the files using sudo, and
changing their ownership later.

Change-Id: I5fcdd9d47f97f32a5b4b8246e8b57ead41b0bdd9
Closes-Bug: #2069956
2024-06-21 09:53:56 +00:00

7 lines
219 B
YAML

---
fixes:
- |
Fixes an issue where an image using the ``manifest`` element could fail to
build when using a non-root user. See `bug 2069956
<https://bugs.launchpad.net/diskimage-builder/+bug/2069956>`__.