Revision b3f1cf6f
b/lib/bootstrap.py | ||
---|---|---|
207 | 207 |
# set up the inter-node password and certificate |
208 | 208 |
_InitGanetiServerSetup(ss) |
209 | 209 |
|
210 |
# start the master ip |
|
211 |
# TODO: Review rpc call from bootstrap |
|
212 |
rpc.call_node_start_master(hostname.name) |
|
213 |
|
|
214 | 210 |
# set up ssh config and /etc/hosts |
215 | 211 |
f = open(constants.SSH_HOST_RSA_PUB, 'r') |
216 | 212 |
try: |
... | ... | |
229 | 225 |
|
230 | 226 |
ssh.WriteKnownHostsFile(cfg, ss, constants.SSH_KNOWN_HOSTS_FILE) |
231 | 227 |
|
228 |
# start the master ip |
|
229 |
# TODO: Review rpc call from bootstrap |
|
230 |
rpc.call_node_start_master(hostname.name, True) |
|
231 |
|
|
232 | 232 |
|
233 | 233 |
def SetupNodeDaemon(node): |
234 | 234 |
"""Add a node to the cluster. |
Also available in: Unified diff