diff options
author | openshift-ci[bot] <75433959+openshift-ci[bot]@users.noreply.github.com> | 2022-07-05 13:29:38 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-07-05 13:29:38 +0000 |
commit | 1fb1cab21c6b49c5ba389d659083662e1b69832b (patch) | |
tree | fd0b2087cf127a7e7caa2682284e0c12a3e81797 /pkg | |
parent | 02179c5686d74ff4d73b022eec305de9415bd448 (diff) | |
parent | 8601ab6b06ceb19bf07ebea47177ae1893faece8 (diff) | |
download | podman-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`
Diffstat (limited to 'pkg')
-rw-r--r-- | pkg/machine/qemu/machine.go | 2 |
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 { |