maas-devel team mailing list archive
-
maas-devel team
-
Mailing list archive
-
Message #01658
Re: Progress report: removing bootresources.yaml
On 22 May 2014 07:36, Mark Shuttleworth <mark@xxxxxxxxxx> wrote:
>
> Thanks Graham, sounds good.
>
> On 21/05/14 13:33, Graham Binns wrote:
>> - Jeroen is working on paring back the structure of bootresources.yaml
>> to its bare necessities. This is useful when someone needs to run the
>> maas-import-pxe-files script manually, as you'll still need to pass
>> it a config file. The new structure will reflect the structure of the DB
>> models.
>
> Would command-line arguments not suffice for a one-time run?
I think there's a little too much structure in there to make a good
transition over to command-line args.
Also, support for passing in a config file is meant as a transitional
mechanism for the unmanaged cloud installer. Once we have
fire-and-keep-track-of-the-thing support via the API, we can move the
installer over to using that, and remove this support (and the
maas-import-pxe-files script as a standalone entity).
Graham, assuming that jibes with your thoughts, we ought to mark use
of a config file as deprecated in the command-line help, and the docs,
as part of this work.
Gavin.
Follow ups
References