From: Steven Dake Date: Wed, 21 Mar 2012 18:32:41 +0000 (-0700) Subject: Use full distro-arch as name of image registered with glance X-Git-Tag: 2014.1~2170 X-Git-Url: https://review.fuel-infra.org/gitweb?a=commitdiff_plain;h=8693984a9b8b905977b3a21ba946707870216796;p=openstack-build%2Fheat-build.git Use full distro-arch as name of image registered with glance Signed-off-by: Steven Dake --- diff --git a/bin/heat b/bin/heat index ec044d48..fe14eba0 100755 --- a/bin/heat +++ b/bin/heat @@ -238,7 +238,7 @@ def jeos_create(options, arguments): tdl_path = '%s/heat/jeos/%s-%s-gold-jeos.tdl' % (get_python_lib(), distro, arch) dsk_filename = '/var/lib/libvirt/images/%s-%s-gold-jeos.dsk' % (distro, arch) qcow2_filename = '/var/lib/libvirt/images/%s-%s-gold-jeos.qcow2' % (distro, arch) - images_name = '%s-%s' % (distro, arch) + image_name = '%s-%s' % (distro, arch) if not os.access(tdl_path, os.R_OK): print 'The tdl for that disto/arch is not available' @@ -275,7 +275,7 @@ def jeos_create(options, arguments): "limit": 10, } - image_meta = {'name': distro, + image_meta = {'name': image_name, 'is_public': True, 'disk_format': 'qcow2', 'min_disk': 0,