drew einhorn wrote:
On 7/30/07, *Michael DeHaan* <mdehaan@xxxxxxxxxx
<mailto:mdehaan@xxxxxxxxxx>> 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@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/et-mgmt-tools
_______________________________________________
et-mgmt-tools mailing list
et-mgmt-tools@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/et-mgmt-tools