How do I list all hosts at specific locations using the Hammer tool?

Updated -

To list all hosts with location beijing, the Hammer CLI command is as follows:

$ hammer host list --location beijng
---|-------------------------------------------------|------------------|------------|--------------|------------------
ID | NAME                                            | OPERATING SYSTEM | HOST GROUP | IP           | MAC              
---|--------...

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