Take the 2-minute tour ×
Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

To register a RHEL 6.4 machine to the Unbreakable Linux Network (ULN), it is required to launch the uln_register command. This command opens a textual interface, where the user has to input the ULN credentials and select the packages. Once the registration process is terminated, it is possible to run yum update.

I would like to automate the registration process (ideally via Puppet, but other ways are ok too) but it seems that uln_register can only work as a textual graphical interface.

Any ideas?

Thanks!

share|improve this question

1 Answer 1

up vote 1 down vote accepted

The ULN tools uln_register and ulnreg_ks are only symlinks to original RHN tools rhn_register and rhnreg_ks so they may be used the same way. The main change compared to original RHN is in /etc/sysconfig/rhn/up2date configuration file where it is defined Oracle ULN server. The first one provides interactive TUI interface while the second one is noninteractive.

So the answer is to use this simple command (man rhnreg_ks)

ulnreg_ks --activationkey=YOUR_ACTIVATION_KEY
share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.