diff --git a/diskimage_builder/elements/ubuntu/post-install.d/99-autoremove b/diskimage_builder/elements/ubuntu-common/post-install.d/99-autoremove similarity index 100% rename from diskimage_builder/elements/ubuntu/post-install.d/99-autoremove rename to diskimage_builder/elements/ubuntu-common/post-install.d/99-autoremove diff --git a/releasenotes/notes/Fix-ubuntu-minimal-not-running-autoremove-7a4e31de2a525f46.yaml b/releasenotes/notes/Fix-ubuntu-minimal-not-running-autoremove-7a4e31de2a525f46.yaml new file mode 100644 index 000000000..ce2585277 --- /dev/null +++ b/releasenotes/notes/Fix-ubuntu-minimal-not-running-autoremove-7a4e31de2a525f46.yaml @@ -0,0 +1,5 @@ +--- +fixes: + - | + Fixed the ubuntu-minimal target to also run autoremove at the end of an + image build.