From 9bc09d1d18d4777438515393a9427fc0733e6f09 Mon Sep 17 00:00:00 2001 From: dongwenjuan Date: Wed, 1 Aug 2018 11:25:28 +0800 Subject: add ssh_keyfile for connect to installer in Apex Change-Id: I8809a24e75c0260f67d3e128b8bbd1becf924529 Signed-off-by: dongwenjuan --- doctor_tests/installer/apex.py | 1 + 1 file changed, 1 insertion(+) (limited to 'doctor_tests/installer/apex.py') diff --git a/doctor_tests/installer/apex.py b/doctor_tests/installer/apex.py index 1ce3eb65..c851b2ac 100644 --- a/doctor_tests/installer/apex.py +++ b/doctor_tests/installer/apex.py @@ -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() -- cgit 1.2.3-korg