Update cirros image visibility in init-runonce

During osic scale testing it is found that the cirros
image added during kolla deployed infra init has private
visibility. This need to be public.

TrivialFix

Change-Id: I39712f0a054f393a8450356e23d41170bc22166e
This commit is contained in:
Swapnil Kulkarni (coolsvap) 2016-08-11 15:04:54 +05:30
parent 08c7cc7b2d
commit 40a0cb9e0e
1 changed files with 1 additions and 1 deletions

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.