From 2ae2676eb3392e292400da9ff19afe1f780aaa17 Mon Sep 17 00:00:00 2001 From: "ma0178@student.uni-lj.si" Date: Tue, 13 Jan 2015 11:01:26 +0000 Subject: git-svn-id: https://svn.lusy.fri.uni-lj.si/kpov-public-svn/kpov-public@175 5cf9fbd1-b2bc-434c-b4b7-e852f4f63414 --- kpov_judge/tasks/radius_mysql_pam/task.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/kpov_judge/tasks/radius_mysql_pam/task.py b/kpov_judge/tasks/radius_mysql_pam/task.py index db8af8d..621c53b 100644 --- a/kpov_judge/tasks/radius_mysql_pam/task.py +++ b/kpov_judge/tasks/radius_mysql_pam/task.py @@ -109,6 +109,9 @@ def gen_params(user_id, params_meta): SQLpassword+=crke[randint(0,25)] params['RADIUS_PASSWORD'] = password params['MYSQL_ADMIN_PASSWORD'] = SQLpassword + + ip_radius_server = ['10.0.2.7', '192.168.11.21', '192.168.0.47', '10.0.16.134', '10.0.16.17', '172.19.7.16'] + params['IP_RS'] = r.choice(ip_radius_server); return params def task_check(results, params): -- cgit v1.2.1