Revision 05f86716 lib/bootstrap.py

b/lib/bootstrap.py
75 75
  This creates the nodepass file containing the shared password for
76 76
  the cluster and also generates the SSL certificate.
77 77

  
78
  Args:
79
    ss: A WritableSimpleStore
80

  
78 81
  """
79 82
  # Create pseudo random password
80 83
  randpass = sha.new(os.urandom(64)).hexdigest()
......
191 194
                               " executable." % constants.NODE_INITD_SCRIPT)
192 195

  
193 196
  # set up the simple store
194
  ss = ssconf.SimpleStore()
197
  ss = ssconf.WritableSimpleStore()
195 198
  ss.SetKey(ss.SS_HYPERVISOR, hypervisor_type)
196 199
  ss.SetKey(ss.SS_MASTER_NODE, hostname.name)
197 200
  ss.SetKey(ss.SS_MASTER_IP, clustername.ip)

Also available in: Unified diff