refactor(config): delete generated includes

In the following commits, the overrides will be loaded at runtime
This commit is contained in:
Zaiming (Stone) Shi 2022-01-16 10:13:52 +01:00
parent a3e3f2216c
commit bfbc87aaca
1 changed files with 1 additions and 3 deletions

View File

@ -21,9 +21,7 @@ main(_) ->
false -> Acc
end
end, BaseConf, Cfgs),
ClusterInc = "include \"cluster-override.conf\"\n",
LocalInc = "include \"local-override.conf\"\n",
ok = file:write_file("apps/emqx_conf/etc/emqx.conf.all", [Conf, ClusterInc, LocalInc]).
ok = file:write_file("apps/emqx_conf/etc/emqx.conf.all", Conf).
get_all_cfgs(Root) ->
Apps = filelib:wildcard("*", Root) -- ["emqx_machine", "emqx_conf"],