Merge "Update quantum.sh for glance client change"
This commit is contained in:
commit
c31ae025f9
@ -103,7 +103,7 @@ TOKEN=`keystone token-get | grep ' id ' | awk '{print $4}'`
|
|||||||
# Various functions.
|
# Various functions.
|
||||||
#------------------------------------------------------------------------------
|
#------------------------------------------------------------------------------
|
||||||
function get_image_id {
|
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"
|
echo "$IMAGE_ID"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user