From e52187e7fe29340220b42b5327f03856848358c1 Mon Sep 17 00:00:00 2001 From: Brent Baude Date: Wed, 4 Aug 2021 15:19:29 -0500 Subject: show podman machine ssh command line A user contributed a one line PR that enabled logging the podman machine ssh command for debug. The user was not able to complete the submission so this PR replaces that. [NO TESTS NEEDED] Replaces #10798 Signed-off-by: Brent Baude --- pkg/machine/qemu/machine.go | 2 ++ 1 file changed, 2 insertions(+) (limited to 'pkg/machine') diff --git a/pkg/machine/qemu/machine.go b/pkg/machine/qemu/machine.go index 0740a2b2c..7b1ebcb03 100644 --- a/pkg/machine/qemu/machine.go +++ b/pkg/machine/qemu/machine.go @@ -482,6 +482,8 @@ func (v *MachineVM) SSH(name string, opts machine.SSHOptions) error { } cmd := exec.Command("ssh", args...) + logrus.Debugf("Executing: ssh %v\n", args) + cmd.Stdout = os.Stdout cmd.Stderr = os.Stderr cmd.Stdin = os.Stdin -- cgit v1.2.3-54-g00ecf