'Create the Task.
Provides the \'disk_dev_info\' for other tasks.  Comes from the disk_dvr
create_disk_from_image method.
:param disk_dvr: The storage driver.
:param context: The context passed into the driver method.
:param instance: The nova instance.
:param nova.objects.ImageMeta image_meta:
The metadata of the image of the instance.'

def __init__(self, disk_dvr, context, instance, image_meta):

    super(CreateDiskForImg, self).__init__('create_disk_from_img', provides='disk_dev_info')
    self.disk_dvr = disk_dvr
    self.instance = instance
    self.context = context
    self.image_meta = image_meta
