diff options
Diffstat (limited to 'kpov_judge/tasks/radius_mysql_pam')
-rw-r--r-- | kpov_judge/tasks/radius_mysql_pam/task.py | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/kpov_judge/tasks/radius_mysql_pam/task.py b/kpov_judge/tasks/radius_mysql_pam/task.py index 908ee49..7ea4b0c 100644 --- a/kpov_judge/tasks/radius_mysql_pam/task.py +++ b/kpov_judge/tasks/radius_mysql_pam/task.py @@ -98,7 +98,7 @@ params_meta = { }
def task(IP_RS, RADIUS_SECRET, RADIUS_USERNAME, RADIUS_PASSWORD, MYSQL_DB_NAME, MYSQL_ADMIN_USER, MYSQL_ADMIN_PASSWORD, MYSQL_SEED):
- import pxssh
+ from pexpect import pxssh
import pexpect
import random
results = dict()
@@ -209,7 +209,6 @@ def task_check(results, params): print (results['login_test'],s)
return score, hints
-def prepare_disks(templates, params):
-# d = templates['simpleArbiterDhcp']
- pass
+def prepare_disks(templates, task_params, global_params):
+ write_default_config(templates['simpleArbiterDhcpGW'], global_params)
|