use openstack cli instead of keystone cli
keystone cli is no longer supported, let's use openstack cli instead Change-Id: Ia3f764fb9c829098fdb89f73259a9f3b1c3119a7
This commit is contained in:
parent
41580add20
commit
154a1bd18e
@ -44,9 +44,7 @@ disk_size=$(openstack flavor show baremetal -f value -c disk)
|
||||
ephemeral_size=$(openstack flavor show baremetal -f value -c "OS-FLV-EXT-DATA:ephemeral")
|
||||
expected_local_gb=$(($disk_size + $ephemeral_size))
|
||||
|
||||
# FIXME(dtantsur): switch to OSC as soon as `openstack endpoint list` actually
|
||||
# works on devstack
|
||||
ironic_url=$(keystone endpoint-get --service baremetal | tail -n +4 | head -n -1 | tr '|' ' ' | awk '{ print $2; }')
|
||||
ironic_url=$(openstack endpoint show baremetal -f value -c publicurl)
|
||||
if [ -z "$ironic_url" ]; then
|
||||
echo "Cannot find Ironic URL"
|
||||
exit 1
|
||||
|
Loading…
x
Reference in New Issue
Block a user