Skip to content
Snippets Groups Projects
Commit c044f32c authored by Guido Trotter's avatar Guido Trotter
Browse files

Make sure the initial node is a master candidate

Reviewed-by: imsnah
parent ce735215
No related branches found
No related tags found
No related merge requests found
......@@ -219,7 +219,9 @@ def InitCluster(cluster_name, mac_prefix, def_bridge,
master_node_config = objects.Node(name=hostname.name,
primary_ip=hostname.ip,
secondary_ip=secondary_ip,
serial_no=1)
serial_no=1,
master_candidate=True,
)
cfg = InitConfig(constants.CONFIG_VERSION,
cluster_config, master_node_config)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment