add ssh_keyfile for connect to installer in Apex
[doctor.git] / doctor_tests / installer / apex.py
index 1ce3eb6..c851b2a 100644 (file)
@@ -19,6 +19,7 @@ class ApexInstaller(BaseInstaller):
         super(ApexInstaller, self).__init__(conf, log)
         self.client = SSHClient(self.conf.installer.ip,
                                 self.conf.installer.username,
+                                key_filename=self.conf.installer.key_file,
                                 look_for_keys=True)
         self.key_file = None
         self.controllers = list()