313
316
ramdisk, kernel, mapping, product_codes, ancestor_ami_ids = get_instance_metadata(euca, ramdisk, kernel, mapping)
316
image_path = euca.make_image(size_in_MB, excludes, prefix, destination_path)
320
image_path = euca.make_image(size_in_MB, excludes, prefix, destination_path)
317
325
image_path = os.path.normpath(image_path)
318
326
if (image_path.find(volume_path) == 0):
319
327
exclude_image = image_path.replace(volume_path, "", 1)