[Openstack] Get URL for Horizon from CLI?

Dean Troyer dtroyer at gmail.com
Wed Apr 20 18:10:48 UTC 2016


On Wed, Apr 20, 2016 at 12:41 PM, Ken D'Ambrosio <ken at jots.org> wrote:

> So I'm trying to write up a user/tenant creation script, and then when
> it's done, I want to fire off an e-mail with relevant info to the new
> user.  One thing I'd like to send along is the URL for horizon for
> whichever cloud I've just created them accounts on... but I don't see how
> to get that from the CLI.
>

Usually, the dashboard URL is not available from any of the REST APIs.  It
is possible for a deployment to have a dashboard entry in the Service
Catalog, if so you can get that using OpenStackClient with this (assuming
the service type is 'dashbaord'):

  openstack catalog show dashboard

dt

-- 

Dean Troyer
dtroyer at gmail.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack/attachments/20160420/4e0a592a/attachment.html>


More information about the Openstack mailing list