On Fri, Apr 07, 2017 at 01:40:10PM -0000, Barry Warsaw wrote: > On Apr 07, 2017, at 12:37 AM, Steve Langasek wrote:
> >That would suffice. It might be nice to do some basic transformations here, > >to make the manifest tabular - à la
> Is this file primarily for human or machine consumption?
Human. It would e.g. be published alongside images on cdimage.ubuntu.com, so we can easily inspect contents of a given image.
On Fri, Apr 07, 2017 at 09:57:16PM -0000, Barry Warsaw wrote: > How about something to this effect?
> $ ubuntu-image -O /tmp/out pc-amd64-model.assertion > $ ls /tmp/out > pc.img seed.manifest snaps.manifest > $ cat /tmp/out/seed.manifest > core 1640 > pc 19 > pc-kernel 60 > $ cat /tmp/out/snaps.manifest > core 1640 > pc-kernel 60
That seems pretty reasonable to me.
On Fri, Apr 07, 2017 at 01:40:10PM -0000, Barry Warsaw wrote:
> On Apr 07, 2017, at 12:37 AM, Steve Langasek wrote:
> >That would suffice. It might be nice to do some basic transformations here,
> >to make the manifest tabular - à la
> Is this file primarily for human or machine consumption?
Human. It would e.g. be published alongside images on cdimage.ubuntu.com,
so we can easily inspect contents of a given image.
On Fri, Apr 07, 2017 at 09:57:16PM -0000, Barry Warsaw wrote:
> How about something to this effect?
> $ ubuntu-image -O /tmp/out pc-amd64- model.assertion seed.manifest snaps.manifest
> $ ls /tmp/out
> pc.img seed.manifest snaps.manifest
> $ cat /tmp/out/
> core 1640
> pc 19
> pc-kernel 60
> $ cat /tmp/out/
> core 1640
> pc-kernel 60
That seems pretty reasonable to me.