apply the scan public keys patch to the check_slices() too
authorTony Mack <tmack@cs.princeton.edu>
Wed, 6 Feb 2008 21:39:50 +0000 (21:39 +0000)
committerTony Mack <tmack@cs.princeton.edu>
Wed, 6 Feb 2008 21:39:50 +0000 (21:39 +0000)
system/TestSlice.py

index 27e136d..a3a4568 100644 (file)
@@ -55,7 +55,9 @@ class TestSlice:
         # scan nodenames
         for nodename in self.slice_spec['nodenames']:
             self.test_plc.run_in_guest("sed -i -e /^%s/d /root/.ssh/known_hosts"%nodename)
-
+        #scan public key and update the known_host file in the root image
+        self.test_plc.scan_publicKeys(self.slice_spec['nodenames'])
+        
     def locate_key(self,slice_spec):
         # locate the first avail. key
         found=False