Red Hat Bugzilla – Bug 1013399
[RFE]: Katello cmdline not to require '--org ORG' when only one organization is configured.
Last modified: 2013-10-10 12:02:41 EDT
Description of problem:
When using the katello cmdline tool, you often have to provide --org 'NAME_OF_ORG', even when you only have one organization configured. This is a pain when working a lot in the cmdline.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
# katello -u admin -p PASSWORD activation_key list --org ACME_Corporation
# katello -u admin -p PASSWORD activation_key list
If normal use of RHN Satellite 5 reflects normal Katello usage - people will usually not configure more than one organization.
You could use the "remember" option so that you don't have to keep typing the org name.
ex: katello -u admin -p admin client remember --option org --value $ORG
Closing as NOTABUG since there is a solution mentioned in comment #1