This works as expected (outputs to stdout):
# lxc exec lxd05:tomasztest -- hostname
tomasztest
This doesn't work as expected (output file is empty, zero bytes):
# lxc exec lxd05:tomasztest -- hostname > output.txt
# cat output.txt
# ls -l output.txt
-rw-r--r-- 1 root root 0 Jun 9 11:56 output.txt
Note! The above redirection works if both servers are "bare metal".
The above redirection DOES NOT work if the remote is "bare metal", but
commands are executed in a LXD container.
I think it did work with LXD installed from deb (i.e. v. 3.0.3).
Tomasz
_______________________________________________
lxc-users mailing list
lxc-users@lists.linuxcontainers.org
http://lists.linuxcontainers.org/listinfo/lxc-users