Glance image API v1 must now be explicitly specified by the client

This commit is contained in:
Tim Dettrick 2016-07-04 15:41:18 +10:00
parent 9b8a4ca434
commit c61ce66b4a
No known key found for this signature in database
GPG Key ID: 510E08BC6E9F0EB7

View File

@ -51,7 +51,7 @@ curl --fail -s -L ${image_url} | bunzip2 > ${coreosimg}
# perform actual image creation
# here we set the os_release, os_verison, os_family, and os_distro variables
# for intelligent consumption of images by scripts
glance image-create --name CoreOS-${release}-v${COREOS_VERSION} --progress \
glance --os-image-api-version 1 image-create --name CoreOS-${release}-v${COREOS_VERSION} --progress \
--is-public true --property os_distro=coreos --property os_family=coreos \
--property os_version=${COREOS_VERSION} \
--disk-format qcow2 --container-format bare --min-disk 6 --file $coreosimg