summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael DeHaan <mdehaan@redhat.com>2006-12-20 12:50:45 -0500
committerJim Meyering <jim@meyering.net>2006-12-20 12:50:45 -0500
commit14068e431c2e7f615f06539b419e8112f9a6e993 (patch)
tree75dc3570d8207b2732cbec3e3ffcdd48ee004324
parent7e3aafc03785e709c361f278e75f280debafbe14 (diff)
downloadthird_party-cobbler-14068e431c2e7f615f06539b419e8112f9a6e993.tar.gz
third_party-cobbler-14068e431c2e7f615f06539b419e8112f9a6e993.tar.xz
third_party-cobbler-14068e431c2e7f615f06539b419e8112f9a6e993.zip
Disable strict host key checking for enchant/transmogrify.
-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