When creating a repository in cli you can set the mirror-on-sync option: hammer repository create --mirror-on-sync=false ... However, the value of mirror-on-sync is not displayed in the output of `hammer repository info`. You have to view the repository in UI to find this information.
Created redmine issue http://projects.theforeman.org/issues/17031 from this bug
Upstream hammer-cli-katello PR: https://github.com/Katello/hammer-cli-katello/pull/460
Moving this bug to POST for triage into Satellite 6 since the upstream issue http://projects.theforeman.org/issues/17031 has been resolved.
Verified on latest 6.3 build: hammer -v -u admin -p changeme repository info --id="5" ID: 5 Name: cYShngDpxiLmXAm Label: cYShngDpxiLmXAm Organization: nuDWvn Red Hat Repository: no Content Type: yum Mirror on Sync: no URL: http://inecas.fedorapeople.org/fakerepos/zoo3/ Publish Via HTTP: yes Published At: http://server_name/pulp/repos/nuDWvn/Library/custom/sUhzJcONSQLnrwPQWNkE/cYShngDpxiLmXAm/ Relative Path: nuDWvn/Library/custom/sUhzJcONSQLnrwPQWNkE/cYShngDpxiLmXAm Download Policy: on_demand Product: ID: 3 Name: cgBuUDivDl GPG Key: Sync: Status: Not Synced Created: 2017/07/17 10:00:27 Updated: 2017/07/17 10:00:28 Content Counts: Packages: 0 Package Groups: 0 Errata: 0 ...
Re-verified by automation
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHSA-2018:0336