[Spacewalk-list] eva-direct-errata-sync.pl setup & example usage
Elias Abacioglu
elias.rabi at gmail.com
Tue Nov 20 16:16:45 UTC 2012
Hello list,
This is my very first post on this list.
I have questions regarding eva-direct-errata-sync.pl.
I have both RHEL and CentOS channels in my spacewalk. I'm pretty new to all
this and wondering how I should setup the errata sync.
I have the following RHEL channels in my spacewalk:
rh6-x64-base-channel ( = rhel-x86_64-server-6)
rh6-x64-optional-channel ( = rhel-x86_64-server-optional-6)
rh5-x64-base-channel ( = rhel-x86_64-server-5)
rh5-x64-rhn_tools-channel ( = rhn-tools-rhel-x86_64-server-5)
And the following CentOS channels:
centos6-x64-base-channel (contains base and updates repos)
centos5-x64-base-channel (contains base and updates repos)
centos5-x32-base-channel (contains base and updates repos)
I want to run errata sync every night for both my RHEL and CentOS channels.
So what I've come up with so far is this:
ERRATASRCUSER=xxx
ERRATADSTUSER=xxx
ERRATASRCPASS=xxx
ERRATADSTPASS=xxx
ERRATADST=localhost
./eva-direct-errata-sync.pl --sourcechannel=rhel-x86_64-server-5
--destinationchannel=rh5-x64-base-channel -F day
./eva-direct-errata-sync.pl --sourcechannel=rhel-x86_64-server-6
--destinationchannel=rh6-x64-base-channel -F day
So for the child channel rh6-x64-optional-channel, do I use the -r flag?
And what will happen with my channel label name differences
(rh6-x64-optional-channel/rhel-x86_64-server-optional-6)?
*# -r or --recursive
*
When do I use these flags?
*# -e RH or --rewriteerratanamefrom RH
# -E CENTOSX86_64 or --rewriteerratanameto CENTOSX86_64
**# --rewritepackagereleasefrom el6
# --rewritepackagereleaseto el6.centos
*
My best guess for the CentOS channels I should use these flags:
./eva-direct-errata-sync.pl --sourcechannel=rhel-x86_64-server-5
--destinationchannel=centos5-x64-base-channel --rewritepackagereleasefrom
el6 --rewritepackagereleaseto el6.centos -F day
./eva-direct-errata-sync.pl --sourcechannel=rhel-x86_64-server-6
--destinationchannel=centos6-x64-base-channel --rewritepackagereleasefrom
el6 --rewritepackagereleaseto el6.centos -F day
./eva-direct-errata-sync.pl --sourcechannel=rhel-i386-server-5
--destinationchannel=centos5-x32-base-channel --rewritepackagereleasefrom
el6 --rewritepackagereleaseto el6.centos -F day
Are my assumptions/examples correct? If not, can someone correct me?
Regards,
Elias Abacioglu
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/spacewalk-list/attachments/20121120/e0d3bd78/attachment.htm>
More information about the Spacewalk-list
mailing list