def get_image_dir_path(instance):
 return os.path.join(CONF.instances_path, instance['name'])

def get_image_dir_path ( instance ) : return os . path . join ( CONF . instances_path , instance [ 'name' ] )
generate the dir for an instances disk .