summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoropenshift-ci[bot] <75433959+openshift-ci[bot]@users.noreply.github.com>2022-07-05 13:29:38 +0000
committerGitHub <noreply@github.com>2022-07-05 13:29:38 +0000
commit1fb1cab21c6b49c5ba389d659083662e1b69832b (patch)
treefd0b2087cf127a7e7caa2682284e0c12a3e81797
parent02179c5686d74ff4d73b022eec305de9415bd448 (diff)
parent8601ab6b06ceb19bf07ebea47177ae1893faece8 (diff)
downloadpodman-1fb1cab21c6b49c5ba389d659083662e1b69832b.tar.gz
podman-1fb1cab21c6b49c5ba389d659083662e1b69832b.tar.bz2
podman-1fb1cab21c6b49c5ba389d659083662e1b69832b.zip
Merge pull request #14824 from shanesmith/silence-machine-ssh-locale-warning
Silence setlocale warnings from `podman machine ssh`
-rw-r--r--pkg/machine/qemu/machine.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkg/machine/qemu/machine.go b/pkg/machine/qemu/machine.go
index 2fe0230cf..7e9c786a9 100644
--- a/pkg/machine/qemu/machine.go
+++ b/pkg/machine/qemu/machine.go
@@ -1013,7 +1013,7 @@ func (v *MachineVM) SSH(_ string, opts machine.SSHOptions) error {
port := strconv.Itoa(v.Port)
args := []string{"-i", v.IdentityPath, "-p", port, sshDestination, "-o", "UserKnownHostsFile=/dev/null",
- "-o", "StrictHostKeyChecking=no", "-o", "LogLevel=ERROR"}
+ "-o", "StrictHostKeyChecking=no", "-o", "LogLevel=ERROR", "-o", "SetEnv=LC_ALL="}
if len(opts.Args) > 0 {
args = append(args, opts.Args...)
} else {