Revision 51de46bf lib/backend.py

b/lib/backend.py
1419 1419

  
1420 1420
  config.add_section(constants.INISECT_INS)
1421 1421
  config.set(constants.INISECT_INS, 'name', instance.name)
1422
  config.set(constants.INISECT_INS, 'memory', '%d' % instance.memory)
1423
  config.set(constants.INISECT_INS, 'vcpus', '%d' % instance.vcpus)
1422
  config.set(constants.INISECT_INS, 'memory', '%d' %
1423
             instance.beparams[constants.BE_MEMORY])
1424
  config.set(constants.INISECT_INS, 'vcpus', '%d' %
1425
             instance.beparams[constants.BE_VCPUS])
1424 1426
  config.set(constants.INISECT_INS, 'disk_template', instance.disk_template)
1425 1427

  
1426 1428
  nic_count = 0

Also available in: Unified diff