Revision 3d914585

b/lib/bootstrap.py
227 227
                modify_etc_hosts=True, modify_ssh_setup=True,
228 228
                maintain_node_health=False, drbd_helper=None,
229 229
                uid_pool=None, default_iallocator=None,
230
                primary_ip_version=None):
230
                primary_ip_version=None, prealloc_wipe_disks=False):
231 231
  """Initialise the cluster.
232 232

  
233 233
  @type candidate_pool_size: int
......
394 394
    drbd_usermode_helper=drbd_helper,
395 395
    default_iallocator=default_iallocator,
396 396
    primary_ip_family=ipcls.family,
397
    prealloc_wipe_disks=prealloc_wipe_disks,
397 398
    )
398 399
  master_node_config = objects.Node(name=hostname.name,
399 400
                                    primary_ip=hostname.ip,
b/lib/objects.py
1006 1006
    "hidden_os",
1007 1007
    "blacklisted_os",
1008 1008
    "primary_ip_family",
1009
    "prealloc_wipe_disks",
1009 1010
    ] + _TIMESTAMPS + _UUID
1010 1011

  
1011 1012
  def UpgradeConfig(self):
......
1082 1083
    if self.primary_ip_family is None:
1083 1084
      self.primary_ip_family = AF_INET
1084 1085

  
1086
    if self.prealloc_wipe_disks is None:
1087
      self.prealloc_wipe_disks = False
1088

  
1085 1089
  def ToDict(self):
1086 1090
    """Custom function for cluster.
1087 1091

  

Also available in: Unified diff