Update quantum.sh for glance client change
Change-Id: Ib67301b26e1c3e1b68669eed6cd89e40687b14e9
This commit is contained in:
parent
a1c87388a4
commit
255db3da19
@ -103,7 +103,7 @@ TOKEN=`keystone token-get | grep ' id ' | awk '{print $4}'`
|
||||
# Various functions.
|
||||
#------------------------------------------------------------------------------
|
||||
function get_image_id {
|
||||
local IMAGE_ID=`glance -f -A $TOKEN index | egrep $DEFAULT_IMAGE_NAME | head -1 | cut -d" " -f1`
|
||||
local IMAGE_ID=$(glance image-list | egrep " $DEFAULT_IMAGE_NAME " | get_field 1)
|
||||
echo "$IMAGE_ID"
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user