It seems that a user must be configured as an Organization Administrator in 
order to use rhn-custom-info.  The python script I wrote would also need the 
same level of privileges, which is why I originally asked if there was any 
inherent way in Spacewalk's kickstart profile settings to accomplish this.  
There doesn't seem to be.
The Org Admin role is too much privileges just to accomplish what I want (i.e. 
set custom info during kickstart), since Org Admins have the ability to run 
remote commands where configured.  In this case, I'd prefer not to have that 
password hanging out in some cobbler kickstart file.

From: [email protected]
To: [email protected]
Date: Tue, 8 Jan 2013 10:32:04 -0500
Subject: Re: [Spacewalk-list] Custom System Info during kickstart?




I guess I meant to ask if there was a "built-in" way to set custom info that 
could be used in the kickstart process.  rhn-custom-info is what I was looking 
for and accomplishes the same thing as my small python script.  Both, however, 
require a username and password.

What are the minimum privileges required for a user to configure this setting? 
Would I have to assign this user to the Organization Administrator role?
Thanks,Giovanni
> Date: Fri, 4 Jan 2013 16:02:50 +0100
> From: [email protected]
> To: [email protected]
> Subject: Re: [Spacewalk-list] Custom System Info during kickstart?
> 
> On Tue, Dec 11, 2012 at 10:24:12AM -0500, Giovanni Torres wrote:
> > I am aware that after a system is registered to spacewalk, I am able to set 
> > Custom System Info for a machine via the Web UI or from the command line 
> > via a small python script.
> > Is there a way to set custom system info for machines during the kickstart 
> > process?
> 
> You can put the same small python script invocation (or
> rhn-custom-info) to post in your kickstart.
> 
> -- 
> Jan Pazdziora
> Principal Software Engineer, Satellite Engineering, Red Hat
> 
> _______________________________________________
> Spacewalk-list mailing list
> [email protected]
> https://www.redhat.com/mailman/listinfo/spacewalk-list
                                          

_______________________________________________
Spacewalk-list mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/spacewalk-list                          
          
_______________________________________________
Spacewalk-list mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/spacewalk-list

Reply via email to