Re: ubuntu-image 0.7ubuntu1

2016-10-12 Thread Jamie Bennett
> On 12 Oct 2016, at 20:04, Gustavo Niemeyer > wrote: > > We've discussed multiple times in meetings and threads that we want to > represent the content of the images accurately inside gadget.yaml. The fact > we're not yet doing that is a bug that we need to

Re: ubuntu-image 0.7ubuntu1

2016-10-12 Thread Oliver Grawert
hi, On Mi, 2016-10-12 at 12:48 -0400, Barry Warsaw wrote: > > The "size" that Ogra wants to control is the generated disk image > file size, > not the size of any particular partition within that disk > image.  IOW, it's > the size of the file that gets written to from the --output/-o option > of

Re: ubuntu-image 0.7ubuntu1

2016-10-12 Thread Barry Warsaw
On Oct 11, 2016, at 10:54 AM, Steve Langasek wrote: > - a --size option to ubuntu-image to specify the full image size (needs > some careful thought for the multiple-image case) > - keep the 50% buffer on ext4 filesystem size as a floor (the '50%' can be > refined over time with investigation

Re: ubuntu-image 0.7ubuntu1

2016-10-12 Thread Oliver Grawert
hi, Am Dienstag, den 11.10.2016, 20:26 -0300 schrieb Gustavo Niemeyer: > To be extra clear: it's not "one gadget, one image". The model > assertion is really what defines what goes into the image, including > the gadget itself. > > So it's really "One model, one image." well, thats nitpicking

Re: ubuntu-image 0.7ubuntu1

2016-10-11 Thread Gustavo Niemeyer
On Tue, Oct 11, 2016 at 5:56 PM, Oliver Grawert wrote: > hi, > On Di, 2016-10-11 at 15:12 -0300, Gustavo Niemeyer wrote: > > > > We need a different gadget for those cases anyway, right? We don't > > want cloud-init probing arbitrary addresses on someone's data center. > > > >

Re: ubuntu-image 0.7ubuntu1

2016-10-11 Thread Oliver Grawert
hi, On Di, 2016-10-11 at 15:12 -0300, Gustavo Niemeyer wrote: >  > We need a different gadget for those cases anyway, right?  We don't > want cloud-init probing arbitrary addresses on someone's data center. > > I agree with Barry here. I'd prefer to encourage people to make > gadget.yaml be

Re: ubuntu-image 0.7ubuntu1

2016-10-11 Thread Oliver Grawert
hi, On Di, 2016-10-11 at 10:54 -0700, Steve Langasek wrote: >  > So I would suggest: > >  - a --size option to ubuntu-image to specify the full image size > (needs >    some careful thought for the multiple-image case) just default to the minimal size as long as it is not set, beyond this i

Re: ubuntu-image 0.7ubuntu1

2016-10-11 Thread Gustavo Niemeyer
On Tue, Oct 11, 2016 at 2:54 PM, Steve Langasek < steve.langa...@canonical.com> wrote: > On Tue, Oct 11, 2016 at 06:12:06PM +0200, Oliver Grawert wrote: > > > Am Dienstag, den 11.10.2016, 11:55 -0400 schrieb Barry Warsaw: > > > On Oct 11, 2016, at 05:01 PM, Oliver Grawert wrote: > > > > >

Re: ubuntu-image 0.7ubuntu1

2016-10-11 Thread Steve Langasek
On Tue, Oct 11, 2016 at 06:12:06PM +0200, Oliver Grawert wrote: > Am Dienstag, den 11.10.2016, 11:55 -0400 schrieb Barry Warsaw: > > On Oct 11, 2016, at 05:01 PM, Oliver Grawert wrote: > > > defining it in the gadget would be rather awful since that means if we > > > use an identical image for