summaryrefslogtreecommitdiffstats
path: root/doctor_tests/installer/mcp.py
diff options
context:
space:
mode:
authorwenjuan dong <dong.wenjuan@zte.com.cn>2018-08-09 06:07:37 +0000
committerGerrit Code Review <gerrit@opnfv.org>2018-08-09 06:07:37 +0000
commiteaeb3c0f9dc9e6645a159d0a78b9fc181fce53d4 (patch)
treeea500412d8f6cad6b8d30519451df3e3e07c9a27 /doctor_tests/installer/mcp.py
parentdcbe7bf1c26052b0e95d209254e7273aa1eaace1 (diff)
parent9bc09d1d18d4777438515393a9427fc0733e6f09 (diff)
Merge "add ssh_keyfile for connect to installer in Apex"
Diffstat (limited to 'doctor_tests/installer/mcp.py')
-rw-r--r--doctor_tests/installer/mcp.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/doctor_tests/installer/mcp.py b/doctor_tests/installer/mcp.py
index 8ba9f000..e7e41dbe 100644
--- a/doctor_tests/installer/mcp.py
+++ b/doctor_tests/installer/mcp.py
@@ -22,7 +22,8 @@ class McpInstaller(BaseInstaller):
self.key_file = self.get_ssh_key_from_installer()
self.client = SSHClient(self.conf.installer.ip,
self.node_user_name,
- key_filename=self.key_file)
+ key_filename=self.key_file,
+ look_for_keys=True)
self.controllers = list()
self.controller_clients = list()