Revision 0a6301ae qa/qa_instance.py

b/qa/qa_instance.py
55 55
    for idx, disk in enumerate(qa_config.GetDiskOptions()):
56 56
      size = disk.get("size")
57 57
      name = disk.get("name")
58
      params.extend(["--disk", "%s:size=%s,name=%s" % (idx, size, name)])
58
      diskparams = "%s:size=%s" % (idx, size)
59
      if name:
60
        diskparams += ",name=%s" % name
61
      params.extend(["--disk", diskparams])
59 62

  
60 63
  # Set static MAC address if configured
61 64
  if force_mac:

Also available in: Unified diff