Merge pull request #565 from dit4c/fix-glance-load

Glance image API v1 must now be explicitly specified by the client
This commit is contained in:
Alex Crawford 2016-07-05 13:37:19 -07:00 committed by GitHub
commit 9165182212

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