aboutsummaryrefslogtreecommitdiff
path: root/pkg
diff options
context:
space:
mode:
authorBrent Baude <bbaude@redhat.com>2021-08-04 15:19:29 -0500
committerMatthew Heon <matthew.heon@pm.me>2021-08-11 15:28:18 -0400
commitd746a7e0938a5e3b8dde64826961ef9259db7447 (patch)
tree27007fae3811bb2fd2c061ac4fe22b3764050aae /pkg
parent4b42265b520238ecb30059430011e63fabdd23d2 (diff)
downloadpodman-d746a7e0938a5e3b8dde64826961ef9259db7447.tar.gz
podman-d746a7e0938a5e3b8dde64826961ef9259db7447.tar.bz2
podman-d746a7e0938a5e3b8dde64826961ef9259db7447.zip
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 <bbaude@redhat.com>
Diffstat (limited to 'pkg')
-rw-r--r--pkg/machine/qemu/machine.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/pkg/machine/qemu/machine.go b/pkg/machine/qemu/machine.go
index 42ae23c43..9cb04ff0a 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