Commit b9222f32 authored by Guido Trotter's avatar Guido Trotter

InitCluster: initialize master node serial_no

Currently it was left alone, and thus its value was "null".

Reviewed-by: imsnah
parent d599d686
......@@ -212,7 +212,8 @@ def InitCluster(cluster_name, mac_prefix, def_bridge,
)
master_node_config = objects.Node(name=hostname.name,
primary_ip=hostname.ip,
secondary_ip=secondary_ip)
secondary_ip=secondary_ip,
serial_no=1)
cfg = InitConfig(constants.CONFIG_VERSION,
cluster_config, master_node_config)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment