aboutsummaryrefslogtreecommitdiff
path: root/tools/init-runonce
diff options
context:
space:
mode:
authorSwapnil Kulkarni (coolsvap) <me@coolsvap.net>2016-08-11 15:04:54 +0530
committerSwapnil Kulkarni (coolsvap) <me@coolsvap.net>2016-08-18 10:03:38 +0000
commit40a0cb9e0e1bea182a595bfabb094b7ce57d1209 (patch)
tree31f888fcfd70ce6244029f2b56b2eb68cc4488b2 /tools/init-runonce
parent08c7cc7b2d2e1d86cd6d9588114cea4f29e11a91 (diff)
downloadkolla-ansible-40a0cb9e0e1bea182a595bfabb094b7ce57d1209.tar.gz
kolla-ansible-40a0cb9e0e1bea182a595bfabb094b7ce57d1209.zip
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
Diffstat (limited to 'tools/init-runonce')
-rwxr-xr-xtools/init-runonce2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/init-runonce b/tools/init-runonce
index 303669f15..ffd6dd87e 100755
--- a/tools/init-runonce
+++ b/tools/init-runonce
@@ -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.