Revision 600535f0 lib/bootstrap.py
b/lib/bootstrap.py | ||
---|---|---|
1 | 1 |
# |
2 | 2 |
# |
3 | 3 |
|
4 |
# Copyright (C) 2006, 2007, 2008 Google Inc. |
|
4 |
# Copyright (C) 2006, 2007, 2008, 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 |
... | ... | |
149 | 149 |
"""Setup the necessary configuration for the initial node daemon. |
150 | 150 |
|
151 | 151 |
This creates the nodepass file containing the shared password for |
152 |
the cluster and also generates the SSL certificate. |
|
152 |
the cluster, generates the SSL certificate and starts the node daemon. |
|
153 |
|
|
154 |
@type master_name: str |
|
155 |
@param master_name: Name of the master node |
|
153 | 156 |
|
154 | 157 |
""" |
155 | 158 |
# Generate cluster secrets |
... | ... | |
322 | 325 |
hv_class = hypervisor.GetHypervisor(hv_name) |
323 | 326 |
hv_class.CheckParameterSyntax(hv_params) |
324 | 327 |
|
325 |
# set up the inter-node password and certificate |
|
328 |
# set up the inter-node password and certificate, start noded
|
|
326 | 329 |
_InitGanetiServerSetup(hostname.name) |
327 | 330 |
|
328 | 331 |
# set up ssh config and /etc/hosts |
Also available in: Unified diff