diff options
Diffstat (limited to 'debian/patches/0002-fix-libvirt-encoding-errors-on-windows-guests.patch')
-rw-r--r-- | debian/patches/0002-fix-libvirt-encoding-errors-on-windows-guests.patch | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/debian/patches/0002-fix-libvirt-encoding-errors-on-windows-guests.patch b/debian/patches/0002-fix-libvirt-encoding-errors-on-windows-guests.patch index 4c8e2926c..78a8baf3e 100644 --- a/debian/patches/0002-fix-libvirt-encoding-errors-on-windows-guests.patch +++ b/debian/patches/0002-fix-libvirt-encoding-errors-on-windows-guests.patch @@ -17,9 +17,9 @@ This patch ensures that the proper encoding is set on every command. --- a/ansible_collections/community/libvirt/plugins/connection/libvirt_qemu.py +++ b/ansible_collections/community/libvirt/plugins/connection/libvirt_qemu.py -@@ -161,6 +161,10 @@ - # prompt that will not occur - sudoable = False +@@ -164,6 +164,10 @@ + # utf-8, this must be done via chcp to get utf-8 (65001) + cmd = ' '.join(["chcp.com", "65001", self._shell._SHELL_REDIRECT_ALLNULL, self._shell._SHELL_AND, cmd]) + # Make sure our first command is to set the console encoding to + # utf-8, this must be done via chcp to get utf-8 (65001) |