Revision 0f68f7fa lib/backend.py

b/lib/backend.py
2743 2743
    config.set(constants.INISECT_INS, "nic%d_ip" % nic_count, "%s" % nic.ip)
2744 2744
    config.set(constants.INISECT_INS, "nic%d_network" % nic_count,
2745 2745
               "%s" % nic.network)
2746
    config.set(constants.INISECT_INS, "nic%d_name" % nic_count,
2747
               "%s" % nic.name)
2746 2748
    for param in constants.NICS_PARAMETER_TYPES:
2747 2749
      config.set(constants.INISECT_INS, "nic%d_%s" % (nic_count, param),
2748 2750
                 "%s" % nic.nicparams.get(param, None))
......
2759 2761
                 ("%s" % disk.physical_id[1]))
2760 2762
      config.set(constants.INISECT_INS, "disk%d_size" % disk_count,
2761 2763
                 ("%d" % disk.size))
2764
      config.set(constants.INISECT_INS, "disk%d_name" % disk_count,
2765
                 "%s" % disk.name)
2762 2766

  
2763 2767
  config.set(constants.INISECT_INS, "disk_count", "%d" % disk_total)
2764 2768

  

Also available in: Unified diff