[et-mgmt-tools] cobbler system add
Michael DeHaan
mdehaan at redhat.com
Mon Aug 6 14:45:30 UTC 2007
drew einhorn wrote:
>
>
> On 7/30/07, *Michael DeHaan* <mdehaan at redhat.com
> <mailto:mdehaan at redhat.com>> wrote:
>
> drew einhorn wrote:
>
> > I think it won't be too difficult to use VMperl to create
> scripts to
> > make an appropriate dhcp reservations, or create a VM to order.
> > Will let you know when I have something more concrete than plans.
> Excellent.
>
>
> Been making progress.
>
> What I need now is a python incantation to retrieve ks metadata,
> and virt info from a cobbler profile, so I can fill in line arguments
> on shell commands my script is issuing.
>
>
This might help get you started... what does the script do?
import cobbler.api as cobbler_api
api = cobbler_api.BootAPI()
for x in api.profiles():
print x.to_datastruct()
>
> --
> Drew Einhorn
> ------------------------------------------------------------------------
>
> _______________________________________________
> et-mgmt-tools mailing list
> et-mgmt-tools at redhat.com
> https://www.redhat.com/mailman/listinfo/et-mgmt-tools
More information about the et-mgmt-tools
mailing list