Commit 435e4bd6 authored by Michael Hanselmann's avatar Michael Hanselmann

bootstrap: Set master node's {c,m}time on cluster init

Signed-off-by: default avatarMichael Hanselmann <hansmi@google.com>
Reviewed-by: default avatarIustin Pop <iustin@google.com>
parent 49ceab21
......@@ -402,6 +402,7 @@ def InitCluster(cluster_name, mac_prefix,
serial_no=1,
master_candidate=True,
offline=False, drained=False,
ctime=now, mtime=now,
)
InitConfig(constants.CONFIG_VERSION, cluster_config, master_node_config)
cfg = config.ConfigWriter(offline=True)
......
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