summaryrefslogtreecommitdiff
path: root/kpov_judge/tasks/openvpn_multiple_hops
diff options
context:
space:
mode:
Diffstat (limited to 'kpov_judge/tasks/openvpn_multiple_hops')
-rw-r--r--kpov_judge/tasks/openvpn_multiple_hops/task.py7
1 files changed, 3 insertions, 4 deletions
diff --git a/kpov_judge/tasks/openvpn_multiple_hops/task.py b/kpov_judge/tasks/openvpn_multiple_hops/task.py
index 25a4229..dbf7eef 100644
--- a/kpov_judge/tasks/openvpn_multiple_hops/task.py
+++ b/kpov_judge/tasks/openvpn_multiple_hops/task.py
@@ -70,7 +70,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'
@@ -117,7 +117,6 @@ 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)