On Mon, Mar 13, 2017 at 08:16:15PM -0000, Barry Warsaw wrote:
> Just as an added use case (also raised privately), I've also used the
> state machine options to *delete* files before the image was baked.
> Probably not a great use case, but there it is.
There are not many files on the filesystem in the ubuntu-core case, period;
the only one we've needed to delete, so far, is one that snap prepare-image
will soon stop writing, once cloud-init's ds-identify support has landed. I
don't think we should expect this to be an ongoing production use case for a
hook.
On Mon, Mar 13, 2017 at 08:16:15PM -0000, Barry Warsaw wrote:
> Just as an added use case (also raised privately), I've also used the
> state machine options to *delete* files before the image was baked.
> Probably not a great use case, but there it is.
There are not many files on the filesystem in the ubuntu-core case, period;
the only one we've needed to delete, so far, is one that snap prepare-image
will soon stop writing, once cloud-init's ds-identify support has landed. I
don't think we should expect this to be an ongoing production use case for a
hook.