diff --git a/rel/files/app.config b/rel/files/app.config index 13649098c..adf5c85c9 100644 --- a/rel/files/app.config +++ b/rel/files/app.config @@ -43,7 +43,7 @@ %% authentication with username, password %{username, []}, %% authentication with clientid - %{clientid, [{password, no}]}, + {clientid, [{password, no}, {file, "etc/clients.config"}]}, %% allow all {anonymous, []} ]}, diff --git a/rel/files/clients.config b/rel/files/clients.config new file mode 100644 index 000000000..2c880c365 --- /dev/null +++ b/rel/files/clients.config @@ -0,0 +1,3 @@ +testclientid0 +testclientid1 127.0.0.1 +testclientid2 192.168.0.1/24 diff --git a/rel/reltool.config b/rel/reltool.config index 30249feb9..1b9849f48 100644 --- a/rel/reltool.config +++ b/rel/reltool.config @@ -70,5 +70,6 @@ {copy, "files/ssl/ssl.key", "etc/ssl.key"}, {template, "files/app.config", "etc/app.config"}, {template, "files/acl.config", "etc/acl.config"}, + {template, "files/clients.config", "etc/clients.config"}, {template, "files/vm.args", "etc/vm.args"} ]}.