diff options
Diffstat (limited to 'kpov_judge/tasks/ldap_import')
-rw-r--r-- | kpov_judge/tasks/ldap_import/task.py | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/kpov_judge/tasks/ldap_import/task.py b/kpov_judge/tasks/ldap_import/task.py index cfbe7d1..654e810 100644 --- a/kpov_judge/tasks/ldap_import/task.py +++ b/kpov_judge/tasks/ldap_import/task.py @@ -71,7 +71,7 @@ params_meta = { } def task(IP_NM, DNS_NM, IP_static, DNS_static): - import pxssh + from pexpect import pxssh import pexpect results = dict() peer_user = 'student' @@ -118,7 +118,6 @@ def task_check(results, params): score = 0 return score, hints -def prepare_disks(templates, params): -# d = templates['simpleArbiterDhcp'] - pass +def prepare_disks(templates, task_params, global_params): + write_default_config(templates['simpleArbiterDhcp'], global_params) |