[Maas-devel] Updating pxelinux.cfg

Zygmunt Krynicki zygmunt.krynicki at canonical.com
Tue Oct 23 18:50:15 UTC 2012


W dniu 23.10.2012 18:25, Jeff Marcom pisze:
> Hello,
>
> I was wondering if someone could point me to a path that would allow me
> to change the pxelinux generated JSON found at
> http://<maas.server.ip>/MAAS/api/1.0/pxeconfig.
>
> I'm currently making a "wrapper" around much of the functionality that
> exists within maasserver.models (i.e User, Node, etc) that will allow me
> to change configuration options on the fly. I haven't been successful in
> figuring out where the pxeconfig is stored, or where through the api I
> could manipulate it.
>
> Any help is appreciated thanks!!

Have a look at src/maasserver/api.py def pxeconfig(request)

Thanks
ZK






More information about the Maas-devel mailing list