summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--cobbler/action_enchant.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/cobbler/action_enchant.py b/cobbler/action_enchant.py
index 610f952..ff6fc06 100644
--- a/cobbler/action_enchant.py
+++ b/cobbler/action_enchant.py
@@ -46,7 +46,7 @@ class Enchant:
"""
Invoke an SSH command.
"""
- cmd2 = "ssh root@%s %s" % (self.address,cmd)
+ cmd2 = "ssh -o 'StrictHostKeyChecking=no' root@%s %s" % (self.address,cmd)
print "running: %s" % cmd2
rc = sub_process.call(cmd2,shell=True)
print "returns: %d" % rc