Merge "Update cirros image visibility in init-runonce"

This commit is contained in:
Jenkins 2016-08-19 01:50:52 +00:00 committed by Gerrit Code Review
commit 50897ef224

View File

@ -42,7 +42,7 @@ if ! [ -f "$IMAGE" ]; then
curl -L -o ./$IMAGE $IMAGE_URL/$IMAGE
fi
echo Creating glance image.
glance image-create --name cirros --progress --disk-format qcow2 --container-format bare --progress --file ./$IMAGE
glance image-create --name cirros --progress --disk-format qcow2 --container-format bare --visibility public --progress --file ./$IMAGE
if [[ "${NETWORK_MANAGER}" == "nova" ]] ; then
echo Configuring nova networking.