diff --git a/plugins/connection/lxd.py b/plugins/connection/lxd.py index e52993fc084..97db7160ef5 100644 --- a/plugins/connection/lxd.py +++ b/plugins/connection/lxd.py @@ -201,6 +201,8 @@ def put_file(self, in_path, out_path): f"{self.get_option('remote')}:{self._host()}/{out_path}" ]) + self._display.vvvvv(f"PUT COMMAND {local_cmd}", host=self._host()) + local_cmd = [to_bytes(i, errors='surrogate_or_strict') for i in local_cmd] process = Popen(local_cmd, stdin=PIPE, stdout=PIPE, stderr=PIPE)