shade/doc/source/user/examples/find-an-image.py
Doug Hellmann 20b2f1f0c0 reorganize docs using the new standard layout
Move the docs around a little to allow the new templated docs.o.o site
link to things like the user and install guides in the expected location.

Change-Id: I7f3b625c04aa6cd2a7ebe5f2ce4a398cf464b1cc
Signed-off-by: Doug Hellmann <doug@doughellmann.com>
2017-06-30 10:07:41 -04:00

8 lines
202 B
Python

import shade
shade.simple_logging()
cloud = shade.openstack_cloud(cloud='fuga', region_name='cystack')
cloud.pprint([
image for image in cloud.list_images()
if 'ubuntu' in image.name.lower()])