Hey Henrique,

if you use a different path, eg: /tmp/test, do you get a different result?

F.

On Tue, Apr 18, 2017 at 6:30 PM henriqsc <[email protected]> wrote:

> Not sure why this is happening but when I try to include a file template
> to my configuration I get the file but with no content on the other end.
> Template's JASON is as follows:
> {
>     "files": [
>         {
>             "contents": "teste",
>             "path": "/etc/config/teste",
>             "mode": "0644"
>         }
>     ]
> }
>
> When I download the configuration from Openwisp2 UI the file is there with
> the content but in the device I only get an empty one, logread doesn't tell
> me anything about. Am I missing something?
>
> --
> You received this message because you are subscribed to the Google Groups
> "OpenWISP" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google Groups 
"OpenWISP" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to