diff --git a/lisa/util/shell.py b/lisa/util/shell.py index a9898100bc..3994193dc8 100644 --- a/lisa/util/shell.py +++ b/lisa/util/shell.py @@ -373,7 +373,12 @@ def copy(self, local_path: PurePath, node_path: PurePath) -> None: assert self._inner_shell local_path_str = self._purepath_to_str(local_path) node_path_str = self._purepath_to_str(node_path) - self._inner_shell.put(local_path_str, node_path_str, create_directories=True) + self._inner_shell.put( + local_path_str, + node_path_str, + create_directories=True, + consistent=self.is_posix, + ) def _purepath_to_str( self, path: Union[Path, PurePath, str]