mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
Ensure we're using UTF-8 on the remote python calls
Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
This commit is contained in:
parent
9cb8f15809
commit
8d961e9299
1 changed files with 3 additions and 0 deletions
|
@ -786,6 +786,9 @@ class VM:
|
|||
):
|
||||
if not self.is_running:
|
||||
self.ctx.exit(1, message=f"{self!r} is not running")
|
||||
if env is None:
|
||||
env = []
|
||||
env.append("PYTHONUTF8=1")
|
||||
self.write_ssh_config()
|
||||
stdout: TextIO | int
|
||||
stderr: TextIO | int
|
||||
|
|
Loading…
Add table
Reference in a new issue