fix old command line deprecated

tested on packstack 16

Story: 2008299

Change-Id: I4c4e505756a94d1120a6408d4d2f760d710c9c05
Signed-off-by: Cyril Lopez <cylopez@redhat.com>
This commit is contained in:
Cyril Lopez 2020-10-30 17:01:53 +01:00
parent c4a39bd461
commit 02f76643b0
1 changed files with 3 additions and 1 deletions

View File

@ -2,7 +2,9 @@
source ~/openrc
keystone token-get 2>&1 > /dev/null
openstack token issue 2>&1 > /dev/null
if [ $? == 0 ]; then
echo "OK - Got a Keystone token."
exit 0