Skip to content

Commit 9b96e97

Browse files
authored
Merge pull request #95 from lu-xianseng/master
修改部署客户端设备youqu环境时,阻塞在密码输入
2 parents b2aee43 + dcce5a5 commit 9b96e97

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/rtk/remote_runner.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -214,7 +214,7 @@ def build_client_env(self, user, _ip, password):
214214
)
215215
system(
216216
f"{self.ssh % password} {user}@{_ip} "
217-
f'"cd ~/{self.server_project_path}/ && bash env.sh"'
217+
f'"cd ~/{self.server_project_path}/ && bash env.sh -p {password}"'
218218
)
219219
logger.info(f"环境安装完成 - < {user}@{_ip} >")
220220

0 commit comments

Comments
 (0)