but the second command never executes inside the container. lxc-attach does not accept the double-quoted string, just a single command.
How would you do this?
May 16, 2021, 5:44:14 AM5/16/21
Reply to author
Sign in to reply to author
Sign in to forward
Report message as abuse
Sign in to report message as abuse
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
You may need to use a Bash call:
lxc-attach -n "$container" -e -- sh -c "first_commnad;second_command"
I'm using this dedicated address because personal addresses aren't
masked enough at this mail public archive. Public archive administrator
should fix this against automated addresses collectors.
El 16/5/21 a les 0:42, Saint Michael ha escrit: