[Spacewalk-list] Software installation Activation key

Jon Miller jonebird at gmail.com
Tue May 28 15:22:14 UTC 2013


I similarly concluded I needed to disable the default CentOS repos and I
got a good pre script solution recommended here on the list:
https://www.redhat.com/archives/spacewalk-list/2013-April/msg00103.html

-- Jon Miller


On Tue, May 28, 2013 at 1:48 AM, Michael Linder <
michael.linder at pt-consulting.eu> wrote:

> **
> Dear all,
>
> Into /var/log/up2date, it cannot find valid URL in base repo. As I know,
> rhn registration is done before %post installation script thus system try
> to contact defined URL into Centos-Base.repo instead of spacewalk directly,
> I solved my issue when I modified the kickstart snippet
> (spacewalk/redhat_register):
>
> [...]
> *sed -i '/^gpgcheck=.*$/aenabled=0' /etc/yum.repos.d/Cent**
> if [ $key ]; then
> rhnreg_ks --serverUrl=https://srv-man-01.ptc.lu/XMLRPC--sslCACert=/usr/share/rhn/RHN-ORG-TRUSTED-SSL-CERT
> --activationkey=$key,1-4cf8a5f51842734548528a3a6bd85fc4,1-349612183f1cca3a4a75b1d920211975
> else
> rhnreg_ks --serverUrl=https://srv-man-01.ptc.lu/XMLRPC--sslCACert=/usr/share/rhn/RHN-ORG-TRUSTED-SSL-CERT
> --activationkey=1-4cf8a5f51842734548528a3a6bd85fc4,1-349612183f1cca3a4a75b1d920211975
> fi
>
> And now every thing is working fine with activation key. Is it the right
> way or is existing a better solution?
>
> Best regards,
>
>
> On Tue, 2013-05-28 at 10:36 +0200, Michael Mraka wrote:
>
> Michael Linder wrote:
> % Dear all,
> %
> % Currently I am testing activation key into spacewalk in order to install
> % package automatically, but it is not working and I get the following
> % error message under overview menu via web interface:
> %
> % Fatal error in Python code occurred [[6]]
> %
> % Do you have any idea about this?
>
> Hi Michael,
>
> Is there anything suspicious in /var/log/up2date?
>
> Regards,
>
> --
> Michael Mráka
> Satellite Engineering, Red Hat
>
>
>
>   --
> Michael Linder
>
> System Administrator
>
>
>
>
> _______________________________________________
> Spacewalk-list mailing list
> Spacewalk-list at redhat.com
> https://www.redhat.com/mailman/listinfo/spacewalk-list
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/spacewalk-list/attachments/20130528/f2da68ad/attachment.htm>


More information about the Spacewalk-list mailing list