Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitc7e7043

Browse files
author
v.shepard
committed
main PBCKP-152
1 parent2d30704 commitc7e7043

File tree

1 file changed

+6
-5
lines changed

1 file changed

+6
-5
lines changed

‎testgres/utils.py

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -70,19 +70,20 @@ def execute_utility(args, logfile=None, hostname='localhost', ssh_key=None):
7070

7171
ifhostname!='localhost':
7272
conn=Connection(
73-
"enterprise-14",
73+
host="enterprise-15",
74+
user="dev",
7475
connect_kwargs={
7576
# XXX pass SSH key path
76-
"key_filename":"/mnt/ssh/id_rsa",
77+
"key_filename":"/home/dev/.ssh/id_ed25519",
7778
},
7879
)
7980

8081
# TODO skip remote ssh run if we are on the localhost.
81-
#result = conn.run('hostname', hide=True)
82+
#result = conn.run(hostname, hide=True)
8283
# add logger
83-
84+
#
8485
cmd=' '.join(args)
85-
result=conn.run(cmd,hide=True)
86+
result=conn.run(cmd,hide=True)
8687

8788
returnresult
8889

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp