I'm having trouble adding a new system using the cobbler python api with
version 0.7.2 (I have not tried this with any other versions).
Here is my python code:
>>> from cobbler import api
>>> cobbler_api = api.BootAPI()
>>> new_sys = cobbler_api.new_system()
>>> new_sys.name = 'testmachine'
>>> new_sys.profile = 'cserver_centos51_x86'
>>> cobbler_api.add_system(new_sys)
True
That works, but it doesn't show up in the cobbler command line:
$ cobbler system list | grep test
$
Am I missing something?
Thanks!
--
Jennifer Cranfill
Systems Engineer
Sony Pictures Imageworks
cranfill@xxxxxxxxxxxxxx
_______________________________________________
et-mgmt-tools mailing list
et-mgmt-tools@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/et-mgmt-tools