Fix keystone CLI deprecation warnings
This commit is contained in:
parent
df416e44ac
commit
01a5c3d4a7
@ -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
|
||||||
|
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user