[Spacewalk-list] rhnreg_ks in kickstart
robin lus
honglus at yahoo.com
Thu Jun 23 00:11:11 UTC 2011
I want to kickstart Centos 5 and have it registered automatically to spacewalk
(1.4)
=ERROR in ks-rhn-post.log
/tmp/ks-script-KOlpXy: line 128: rhnreg_ks: command not found
/tmp/ks-script-KOlpXy: line 134: rhn_check: command not found
rhnreg_ks command depending on lot of rpms:
rhn-setup,rhn-client-tools, rhnsd,python-dmidecode .... etc
But looking at the kickstart file, it only installs 3 rpms: rhnlib
libxml2-python,pyOpenSSL
=========
wget -P /tmp/rhn_rpms/optional
http://rhs.example.com/download/package/a2aee7e02daa930974a2e49c6520d0dca9682ad0/0/1/2662/rhnlib-2.5.39-1.el5.noarch.rpm
http://rhs.example.com/download/package/39a4054951e42d1bc54d587753ae280781e71478/0/1/2661/libxml2-python-2.6.26-2.1.2.8.el5_5.1.i386.rpm
m
http://rhs.example.com/download/package/3b96f749e282b785d1dcacc99fd0bd0b0a99f9f3/0/1/1068/pyOpenSSL-0.6-1.p24.7.2.2.i386.rpm
rpm -Uvh --replacepkgs --replacefiles /tmp/rhn_rpms/optional/pyOpenSSL*
/tmp/rhn_rpms/optional/rhnlib* /tmp/rhn_rpms/optional/libxml2-python*
=========
I can add rhnreg_ks dependences to software list in addition to @base, But I
want to know the right way.
More information about the Spacewalk-list
mailing list