Commit adca97f0 authored by David Johnson's avatar David Johnson

Make all images public so they can be used by any tenant.

parent 0162f233
Pipeline #1237 skipped
......@@ -170,3 +170,10 @@ while [ $i -lt 4 ]; do
i=`expr $i + 1`
done
##
## Set all the images public so other tenants can boot them.
##
IMAGELIST=`glance image-list | awk ' / [0-9a-zA-Z]*-[0-9a-zA-Z-]* / { print $2 }' | xargs`
for image in $IMAGELIST ; do
glance image-update --visibility public $image
done
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment