A location context defines the location to use for a host and its associated resources.
Procedure
The location menu is the second menu item in the menu bar, on the upper left of the {ProjectWebUI}. If you have not selected a current location, the menu displays Any Location. Click Any location and select the location to use.
CLI procedure
While using the CLI, include either --location "My_Location"
or --location-id "My_Location_ID"
as an option.
For example:
# hammer host list --location "My_Location"
This command lists hosts associated with the My_Location location.