summaryrefslogtreecommitdiffstats
path: root/doctor_tests/installer/__init__.py
diff options
context:
space:
mode:
Diffstat (limited to 'doctor_tests/installer/__init__.py')
-rw-r--r--doctor_tests/installer/__init__.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/doctor_tests/installer/__init__.py b/doctor_tests/installer/__init__.py
index 31fce754..ee44018c 100644
--- a/doctor_tests/installer/__init__.py
+++ b/doctor_tests/installer/__init__.py
@@ -24,6 +24,10 @@ OPTS = [
default='root',
help='the user name for login installer server',
required=True),
+ cfg.StrOpt('key_file',
+ default=os.environ.get('SSH_KEY', None),
+ help='the key for user to login installer server',
+ required=False),
]