[lxc-users] lxd lxc exec command to container tries to execute on Host instead?

brian mullan bmullan.mail at gmail.com
Mon Jan 4 17:00:22 UTC 2016


Ignore my previous question I figured out how to make it work

Instead of:

*       lxc exec cn1 -- chmod +x /home/$USER/*.sh*

I used this...

       lxc exec cn1 -- /bin/bash -c "chmod +x /home/$USER/*.sh"

and that worked !

sorry for the noise

Brian
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.linuxcontainers.org/pipermail/lxc-users/attachments/20160104/4f3691ff/attachment.html>


More information about the lxc-users mailing list