Revision 9486f6ae qa/qa_cluster.py

b/qa/qa_cluster.py
1 1
#
2 2
#
3 3

  
4
# Copyright (C) 2007 Google Inc.
4
# Copyright (C) 2007, 2010 Google Inc.
5 5
#
6 6
# This program is free software; you can redistribute it and/or modify
7 7
# it under the terms of the GNU General Public License as published by
......
80 80
  # Initialize cluster
81 81
  cmd = ['gnt-cluster', 'init']
82 82

  
83
  cmd.append("--primary-ip-version=%d" %
84
             qa_config.get("primary_ip_version", 4))
85

  
83 86
  if master.get('secondary', None):
84 87
    cmd.append('--secondary-ip=%s' % master['secondary'])
85 88

  

Also available in: Unified diff