Jasper Capel wrote:
Michael DeHaan wrote:
> This sounds excellent.
> I think it /seems/ to indicate that the following should exist:
>
> koan --server=cobbler.example.com --register-me
>
> Which would register the box if not already registered and add the
> hardware info. If the box already existed in cobbler it would only
> update the hardware info (like RAM) (to avoid overwriting other more
> important data) and refuse to update the network data if already set up.
>
> The live CD you mention could use this.
>
> As I mentioned earlier, due to security reasons, we'd want this off by
> default.
>
> Ideally I think we want a setting like:
>
> extended_registration_enabled: 1
>
> And we could obsolete the existing "register new MACs" functionality as
> this would be more feature-rich.
>
> It's a slight weakness in that this would create an API that could allow
> data in cobbler to be manipulated without access (like the RAM amounts
> as we indicate above), though we do it right it should be reasonably
> feature rich.
>
> We could think about requring usernames and passwords but since this is
> in a provisioning context those credentials would be exposed anyway, so
> it's not that useful to do so.
>
> I've also thought about doing something like this through Func, though
> I'm not sure everyone would want to adopt Func for this so something
> self contained might be better.
>
>
Hi all,
I'm interested in this functionality, has work started on this yet, or
is it still in the "good idea" state? :)
Jasper
_______________________________________________
cobbler mailing list
cobbler(a)lists.fedorahosted.org
https://fedorahosted.org/mailman/listinfo/cobbler
Nothing has started on this one yet, so it's fair game should someone
want to take it.
Really the more things we do that allow writing to cobbler's state
remotely, the more we do need something to ensure credentials and
that the system is who it says it is, and that it can't modify other
records.
This may really lead down the Func route entirely, in which case it's a
script to populate cobbler from Func that speaks cobbler's Python API.
Thoughts?
--Michael