Fix keystone CLI deprecation warnings

This commit is contained in:
f3flight 2016-05-14 01:01:09 +00:00
parent df416e44ac
commit 01a5c3d4a7
2 changed files with 14 additions and 2 deletions

View File

@ -1,2 +1,8 @@
source "$OPENRC" source "$OPENRC"
keystone endpoint-list which openstack 2>&1
if [ "$?" -eq "0" ]
then
openstack endpoint list --long
else
keystone endpoint-list
fi

View File

@ -1,2 +1,8 @@
source "$OPENRC" source "$OPENRC"
keystone tenant-list which openstack 2>&1
if [ "$?" -eq 0 ]
then
openstack project list --long
else
keystone tenant-list
fi