Bug 1013399 - [RFE]: Katello cmdline not to require '--org ORG' when only one organization is configured.
Summary: [RFE]: Katello cmdline not to require '--org ORG' when only one organization ...
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Katello
Classification: Retired
Component: Infrastructure
Version: 1.X
Hardware: Unspecified
OS: Unspecified
unspecified
medium
Target Milestone: ---
: ---
Assignee: Katello Bug Bin
QA Contact: Katello QA List
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-09-29 22:40 UTC by Magnus Glantz
Modified: 2013-10-10 16:02 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2013-10-10 16:02:41 UTC


Attachments (Terms of Use)

Description Magnus Glantz 2013-09-29 22:40:39 UTC
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):
1.4.8-1.git.4.c940d43.el6

How reproducible:
N/A

Steps to Reproduce:
N/A

Actual results:
For example:
# katello -u admin -p PASSWORD activation_key list --org ACME_Corporation

Expected results:
For example:
# katello -u admin -p PASSWORD activation_key list

Additional info:
If normal use of RHN Satellite 5 reflects normal Katello usage - people will usually not configure more than one organization.

Comment 1 Og Maciel 2013-09-30 00:38:25 UTC
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

Comment 2 Mike McCune 2013-10-10 16:02:41 UTC
Closing as NOTABUG since there is a solution mentioned in comment #1


Note You need to log in before you can comment on or make changes to this bug.