Revision 7f691719 snf-cyclades-app/synnefo/logic/backend.py

b/snf-cyclades-app/synnefo/logic/backend.py
221 221
def create_instance(vm, flavor, image, password, personality):
222 222
    """`image` is a dictionary which should contain the keys:
223 223
            'backend_id', 'format' and 'metadata'
224
        
224

  
225 225
        metadata value should be a dictionary.
226 226
    """
227
    nic = {'ip': 'pool', 'mode': 'routed', 'link': settings.GANETI_PUBLIC_LINK}
227
    nic = {'ip': 'pool', 'network': settings.GANETI_PUBLIC_NETWORK}
228 228

  
229 229
    if settings.IGNORE_FLAVOR_DISK_SIZES:
230 230
        if image['backend_id'].find("windows") >= 0:

Also available in: Unified diff