Revision b2222a7f snf-cyclades-app/synnefo/logic/backend.py

b/snf-cyclades-app/synnefo/logic/backend.py
396 396
    provider = flavor.disk_provider
397 397
    if provider:
398 398
        kw['disks'][0]['provider'] = provider
399

  
400
        if provider == 'vlmc':
401
            kw['disks'][0]['origin'] = flavor.disk_origin
399
        kw['disks'][0]['origin'] = flavor.disk_origin
402 400

  
403 401
    kw['nics'] = [public_nic]
404 402
    if vm.backend.use_hotplug():

Also available in: Unified diff