aboutsummaryrefslogtreecommitdiff
path: root/ec2/spark_ec2.py
diff options
context:
space:
mode:
Diffstat (limited to 'ec2/spark_ec2.py')
-rwxr-xr-xec2/spark_ec2.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/ec2/spark_ec2.py b/ec2/spark_ec2.py
index 7371558274..3f7242a53d 100755
--- a/ec2/spark_ec2.py
+++ b/ec2/spark_ec2.py
@@ -899,6 +899,7 @@ def stringify_command(parts):
def ssh_args(opts):
parts = ['-o', 'StrictHostKeyChecking=no']
+ parts += ['-o', 'UserKnownHostsFile=/dev/null']
if opts.identity_file is not None:
parts += ['-i', opts.identity_file]
return parts