Revision 62232bba

b/snf-cyclades-app/conf/20-snf-cyclades-app-backend.conf
51 51
## from the provider name, e.g. 'archipelago' to a dictionary with the actual
52 52
## arbitrary parameters.
53 53
#GANETI_DISK_PROVIDER_KWARGS = {}
54
#
55
## List of ExtStorage providers that support cloning. For these providers, the
56
## hashmap of the image is passed as an ExtStorage disk parameter('origin') and
57
## ,since disk will be already filled with data, 'snf-image' performs only
58
## customization (no data copying).
59
#GANETI_CLONE_PROVIDERS = ['vlmc', 'archipelago']
b/snf-cyclades-app/synnefo/app_settings/default/backend.py
51 51
# the provider name, e.g. 'archipelago' to a dictionary with the actual
52 52
# arbitrary parameters.
53 53
GANETI_DISK_PROVIDER_KWARGS = {}
54

  
55
# List of ExtStorage providers that support cloning. For these providers, the
56
# hashmap of the image is passed as an ExtStorage disk parameter('origin') and,
57
# since disk will be already filled with data, 'snf-image' performs only
58
# customization (no data copying).
59
GANETI_CLONE_PROVIDERS = ['vlmc', 'archipelago']
b/snf-cyclades-app/synnefo/logic/servers.py
179 179
        flavor.disk_template = disk_template
180 180
        flavor.disk_provider = provider
181 181
        flavor.disk_origin = None
182
        if provider in ['vlmc', 'archipelago']:
182
        if provider in settings.GANETI_CLONE_PROVIDERS:
183 183
            flavor.disk_origin = image['checksum']
184 184
            image['backend_id'] = 'null'
185 185
    else:

Also available in: Unified diff