21 lines
826 B
Diff
21 lines
826 B
Diff
|
# HG changeset patch
|
||
|
# User Dejan Muhamedagic <dejan@hello-penguin.com>
|
||
|
# Date 1312579593 -7200
|
||
|
# Node ID d0359dca5dba3fd6fee856d51cca5ee7ac752ee6
|
||
|
# Parent a7acb683b3568ca81d90472f770b0270270d5dfd
|
||
|
Low: Shell: relax host key checking in pssh
|
||
|
|
||
|
diff -r a7acb683b356 -r d0359dca5dba shell/modules/crm_pssh.py
|
||
|
--- a/shell/modules/crm_pssh.py Fri Aug 05 23:13:37 2011 +0200
|
||
|
+++ b/shell/modules/crm_pssh.py Fri Aug 05 23:26:33 2011 +0200
|
||
|
@@ -84,7 +84,8 @@ def do_pssh(l, opts):
|
||
|
hosts = []
|
||
|
for host, cmdline in l:
|
||
|
cmd = ['ssh', host, '-o', 'PasswordAuthentication=no',
|
||
|
- '-o', 'SendEnv=PSSH_NODENUM']
|
||
|
+ '-o', 'SendEnv=PSSH_NODENUM',
|
||
|
+ '-o', 'StrictHostKeyChecking=no']
|
||
|
if opts.options:
|
||
|
for opt in opts.options:
|
||
|
cmd += ['-o', opt]
|