Custom Search

Wednesday, June 4, 2014

OpenStack DevStack How to Use command-line interface (CLI)

1)
Goto ~/devstack

2)
Open "openrc" file and set password

export OS_PASSWORD=${ADMIN_PASSWORD:-your_password_here}

3)
Source "openrc" file


a)
Default username and project are "demo"

#source openrc
or
#. openrc


b)
Source with "admin" username and project

#source openrc admin admin
or
#. openrc admin admin


c)
Source with custom username and project

#source openrc newuser newproject
or
#. openrc newuser newproject


4)
Try CLI Commands


a)
List all users
#keystone user-list

No comments:

Post a Comment