On 9/27/19 7:13 PM, Daniel P. Berrangé wrote:
It is documented that a command to run inside the container can be
passed with the -c arg.
virt-login-shell -c "ls -l /"
This fixes
commit 4feeb2d986b98013ebfb1d41ab6b9007b6cce6e2
Author: Daniel P. Berrangé <berrange(a)redhat.com>
Date: Thu Aug 1 10:58:31 2019 +0100
tools: split virt-login-shell into two binaries
Signed-off-by: Daniel P. Berrangé <berrange(a)redhat.com>
---
tools/virt-login-shell.c | 25 +++++++++++++++++--------
1 file changed, 17 insertions(+), 8 deletions(-)
Oops, Reviewed-by: Michal Privoznik <mprivozn(a)redhat.com>
Michal