glance image-create --public is deprecated and deleted

May require a backport to stable, as it already fail for me when following
https://github.com/agroup/instack-undercloud/blob/master/README-packages.md
This commit is contained in:
Dmitry Tantsur 2015-01-21 16:48:23 +01:00
parent d95b1c8da3
commit 2cb4e570ff
1 changed files with 2 additions and 2 deletions

View File

@ -40,10 +40,10 @@ check_image openstack-full.qcow2
load_image openstack-full.qcow2
glance image-delete bm-deploy-kernel 2>/dev/null || :
glance image-create --name bm-deploy-kernel --public \
glance image-create --name bm-deploy-kernel --is-public true \
--disk-format aki < $IMAGE_PATH/$DEPLOY_NAME.kernel
glance image-delete bm-deploy-ramdisk 2>/dev/null || :
glance image-create --name bm-deploy-ramdisk --public \
glance image-create --name bm-deploy-ramdisk --is-public true \
--disk-format ari < $IMAGE_PATH/$DEPLOY_NAME.initramfs
if ! $(nova flavor-show baremetal 2>&1 1>/dev/null); then