Greetings,
I'm using the cobbler that ships with Red Hat's Satellite server, 2.0.7.
I'm writing a perl script to allow remote cobbler configuration. I can
create, search, and delete cobbler profiles, but modifying them gives me
an error.
Given the profile string 'name', I'm trying to get handle that I can use
to make the modifications. I'm using Perl's xmlrpc::lite module.
$system_id = $server->get_profile_handle( $profile_name, $token)->result()
or die "Could not find $profile_name, $!";
This always returns an error. The cobbler log shows 'unknown profile
name'. I find the cobblers terms profile, name, and such confusing.
Sometimes profile refers to the kickstart profile inside the cobbler
profile. I also tried replacing get_profile_handle with get_name_handle,
but the error persisted.
How can I make this work?
--
Neil Watson
Linux/UNIX Consultant
http://watson-wilson.ca