-
Bug
-
Resolution: Done
-
6.12.0
Section Number and Name: 7.Enter the reposync command:
- reposync --delete --download-metadata -p ~/Satellite-repos -n \
-r rhel-8-for-x86_64-baseos-rpms \
-r rhel-8-for-x86_64-appstream-rpms \
-r satellite-6.12-for-rhel-8-x86_64-rpms \
-r satellite-maintenance-6.12-for-rhel-8-x86_64-rpms
Describe the issue: Seems like the reposync command have different option on RHEL 7 and 8 OS. For example:
RHEL7: # reposync --help
~~~
-r REPOID, --repoid=REPOID
specify repo ids to query, can be specified multiple times (default is all enabled)
~~~~
RHEL8: # reposync --help
~~~~
--repo [repo], --repoid [repo]
enable just specific repositories by an id or a glob, can be specified multiple times
~~~~
Suggestions for improvement: need to correct to:
- reposync --delete --download-metadata -p ~/Satellite-repos -n \
--repoid rhel-8-for-x86_64-baseos-rpms \
--repoid rhel-8-for-x86_64-appstream-rpms \
--repoid satellite-6.12-for-rhel-8-x86_64-rpms \
--repoid satellite-maintenance-6.12-for-rhel-8-x86_64-rpms
Additional information: Also we can correct this in Satellite 6.11 doc for RHEL8