Here is my CentOS5_x64 client install -------- Original Message -------- Subject: [Spacewalk-list] trouble with GPG keys and epel repository From: rob morrien <[email protected]> To: [email protected] <[email protected]> Date: 07/10/2009 04:12 PM
>> hello, > > is this script available? # # # Install a CentOS client for spacewalk ########################################## URL="*spacewalk-url*" ACTKEY="1tyour activation key*" echo step 1 - install required software yum -y install gnupg gnome-python2 gnome-python2-canvas ntp usermode-gtk pyOpenSSL python glibc glibc-devel pygtk2-libglade rtld echo step 2 - installing required client software wget -q http://stahnma.fedorapeople.org/spacewalk-tools/spacewalk-client-tools-0.0-1.noarch.rpm rpm -ivh spacewalk-client-tools-0.0-1.noarch.rpm yum -y install rhn-setup jabberpy osad PyXML yum-rhn-plugin # Importing also the rpmforge and epel keys # EPEL: wget http://download.fedora.redhat.com/pub/epel/RPM-GPG-KEY-EPEL # download DAG GPG key rpm --import RPM-GPG-KEY-EPEL # import the key # RPMFORGE: wget http://dag.wieers.com/rpm/packages/RPM-GPG-KEY.dag.txt # download DAG GPG key rpm --import RPM-GPG-KEY.dag.txt # import the key echo step 3 - registering the client rhnreg_ks --force --serverUrl=http://"$URL"/XMLRPC --activationkey="$ACTKEY" echo 'Disabling the default CentOS repositories and enabling our spacewalk repo' cp -f *.repo /etc/yum.repos.d/ cd /usr/share/rhn/ wget -q http://devmx01.buro.info.nl/pub/RHN-ORG-TRUSTED-SSL-CERT mv RHN-ORG-TRUSTED-SSL-CERT RHNS-CA-CERT service osad restart chkconfig osad on echo 'Now your client is configured to the spacewalk repo' echo 'Please add the client to the right group in spacewalk' echo '' echo '- end of script -' If someone has a better script, please share it :) > >> >> -------- Original Message -------- >> Subject: [Spacewalk-list] trouble with GPG keys and epel repository >> From: John Hodrien <[email protected]> >> To: [email protected] <[email protected]> >> Date: 07/10/2009 09:02 AM >> >>> On Fri, 10 Jul 2009, Tommi Lätti wrote: >>> >>>> ext John Hodrien wrote: >>>>> GPG key management it not something spacewalk does, although it would >>>>> be nice >>>>> if it did. >>>> Hmm, mine does via the kickstart. System -> kickstart -> GPG and SSL >>>> keys. >>>> >>>> Then I just put all the keys there (you have to import the file) and >>>> then they get automatically imported during the kickstart of a new >>>> server (you have to enable the keys via kickstart -> profiles -> system >>>> details -> GPG & SSL). >>> I misworded my response. It doesn't manage GPG keys of installed >>> systems. >>> Once you've provisioned, spacewalk washes its hands of GPG management. >>> >> I added the wget of the rpmforge and epel GPG keys to our spacewalk >> client install script. >> I think that is the easiest solution. >> >>> jh >> Michiel >> >> _______________________________________________ >> 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
signature.asc
Description: OpenPGP digital signature
_______________________________________________ Spacewalk-list mailing list [email protected] https://www.redhat.com/mailman/listinfo/spacewalk-list
