[Spacewalk-list] child channel packages is not replicated
Israel Berko
israelber14 at gmail.com
Sun Dec 6 18:33:42 UTC 2015
Hi All
i have got 2 questions:
1)I am writing script to replicate satellite 5.6 to spacewalk 2.2 in dmz
I am using the below commands on the script :
i=base channel label
exporting the channel on satellite
rhn-satellite-exporter --hard-links -c $i --dir=/var/satellite/sync/
copy the dump to dmz spacwalk ,and import it
satellite-sync --mount-point=/var/satellite/dump/var/satellite/sync -c
'$i'\
the base channel was replicated and the number of packages on the existing
base
channel was updated .
but while i am running the same commands to replicated the child channels
of the above mail
the package count on the child channel ,didn't got updated
i was trying to add the following arguments to the satellite-sync command:
satellite-sync --force-all-packages
--mount-point=/var/satellite/dump/var/satellite/sync
-c '$i'\
but it didn't got no deference ,the package count wasn't updated.
Please let me know ,how to make it work
2) in that script ,i am checking the number of packages on a channel
and replicating accordingly .
i am using this methods to get the package count:
spacewalk-report channel-packages |grep $i |wc -l
is there more graceful way to get the package count per channel .
Thanks
Max_il
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/spacewalk-list/attachments/20151206/ecf4a5cd/attachment.htm>
More information about the Spacewalk-list
mailing list