[Satellite6] When modifying a user's default organization and location using hammer it is necessary to specify both organization and location as id's

Solution Unverified - Updated -

Issue

  • When modifying a user's default organization and location using hammer, it is necessary to specify location and organization as ids, instead of by name. This makes scripting the change quite difficult as you need to first parse the organization and location list. Currently you need to do:
# hammer user update --login user_name --default-organization-id 1 --default-location-id 2

it would be better if you could do organization and location name instead of id:

# hammer user update --login user_name --default-organization organization_name --default-location location_name

Environment

  • Red Hat Satellite 6.x

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content