diff options
Diffstat (limited to 'kpov_judge/tasks/network_boot_custom_program')
-rw-r--r-- | kpov_judge/tasks/network_boot_custom_program/task.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/kpov_judge/tasks/network_boot_custom_program/task.py b/kpov_judge/tasks/network_boot_custom_program/task.py index 89e3194..891bc4a 100644 --- a/kpov_judge/tasks/network_boot_custom_program/task.py +++ b/kpov_judge/tasks/network_boot_custom_program/task.py @@ -69,7 +69,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' @@ -116,7 +116,7 @@ def task_check(results, params): score = 0 return score, hints -def prepare_disks(templates, params): +def prepare_disks(templates, task_params, global_params): # d = templates['simpleArbiterDhcp'] - pass + write_default_config(templates['simpleArbiterDhcp'], global_params) |