Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
itminedu
snf-ganeti
Commits
c044f32c
Commit
c044f32c
authored
Dec 03, 2008
by
Guido Trotter
Browse files
Make sure the initial node is a master candidate
Reviewed-by: imsnah
parent
ce735215
Changes
1
Hide whitespace changes
Inline
Side-by-side
lib/bootstrap.py
View file @
c044f32c
...
...
@@ -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
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment