anchor.diff:              OptCcms = CcmNodes -- [list_to_atom(NodeName)],
               replace_application_config(SysConfigPath, kernel,
                   [
  -                    {distributed, [{?ONEPROVIDER_APP_NAME, ?DIST_APP_FAILOVER_TIMEOUT, [list_to_atom(NodeName), list_to_tuple(OptCcms)]}]},
  +                    {distributed, [{
  +                        ?ONEPROVIDER_APP_NAME,
  +                        ?DIST_APP_FAILOVER_TIMEOUT,
  +                        [list_to_atom(NodeName), list_to_tuple(OptCcms)]
  +                    }]},
                       {sync_nodes_mandatory, OptCcms},
                       {sync_nodes_timeout, ?SYNC_NODES_TIMEOUT}
                   ]);
  
positive.code:     {SysConfigPath :: string(), VmArgsPath :: string()}.
  find_config_location(ApplicationName, ReleaseRootPath) ->
      ApplicationNameString = atom_to_list(ApplicationName),
      {ok, [[{release, ApplicationNameString, AppVsn, _, _, _}]]} = file:consult(filename:join([ReleaseRootPath, "releases", "RELEASES"])),
      SysConfigPath = filename:join([ReleaseRootPath, "releases", AppVsn, "sys.config"]),
      VmArgsPath = filename:join([ReleaseRootPath, "releases", AppVsn, "vm.args"]),
      {SysConfigPath, VmArgsPath}.
  
negative.code:     end;
  configure_release(ApplicationName, ReleaseRootPath, SysConfig, VmArgs) ->
      {SysConfigPath, VmArgsPath} = find_config_location(ApplicationName, ReleaseRootPath),
      lists:foreach(
          fun({Key, Value}) -> replace_vm_arg(VmArgsPath, "-" ++ atom_to_list(Key), Value) end,
          VmArgs
      ),
      lists:foreach(
          fun({Key, Value}) -> replace_env(SysConfigPath, ApplicationName, Key, Value) end,
          SysConfig
      ).
  
  %%%===================================================================
  %%% Internal functions
  