Skip to content

Commit

Permalink
Disable strict host key checking for last hop nodes.
Browse files Browse the repository at this point in the history
  • Loading branch information
HAMSIK Adam committed Jul 3, 2014
1 parent 6a65c9e commit 87349c3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion littlechef/chef.py
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,7 @@ def _synchronize_node(configfile, node):
if env.gateway:
ssh_key_file = '.ssh/'+os.path.basename(' '.join(env.ssh_config.lookup(env.host_string)['identityfile']))
extra_opts=""
ssh_opts+=" "+env.gateway+" ssh -i "+ssh_key_file
ssh_opts+=" "+env.gateway+" ssh -o StrictHostKeyChecking=no -i "+ssh_key_file

rsync_project(
env.node_work_path,
Expand Down

0 comments on commit 87349c3

Please sign in to comment.