anchor.diff:          mining => maps:merge(#{autostart => true}, maps:get(mining, Spec, #{}))
       },
       Context = #{epoch_config => RootVars},
  -    ok = write_template(TemplateFile, ConfigFilePath, Context),
  +    {ok, ConfigString} = write_template(TemplateFile, ConfigFilePath, Context),
       Command =
           case MineRate of
               default -> [];
  
positive.code:     {{ok, TemplateBin}, _} = {file:read_file(TemplateFile), TemplateFile},
      Data = bbmustache:render(TemplateBin, Context, [{key_type, atom}]),
      ok = filelib:ensure_dir(OutputFile),
      file:write_file(OutputFile, Data).
  
  is_running(Id) -> is_running(Id, 5).
  
  
negative.code:             [ContId, NetId])
      end, OtherNetworks),
  
      [YamlConfig] = yamerl:decode(ConfigString),
      NodeState#{
          container_name => Hostname,
          container_id => ContId,
          config_path => ConfigFilePath,
          config => YamlConfig,
          log_path => {LogPath, list_to_binary(?EPOCH_LOG_FOLDER)}
      }.
  
  