From 0e87104d21bdf9273780196f94b66dc55a86e100 Mon Sep 17 00:00:00 2001 From: "gasperfele@fri1.uni-lj.si" Date: Fri, 30 Jan 2015 20:50:59 +0000 Subject: commit test git-svn-id: https://svn.lusy.fri.uni-lj.si/kpov-public-svn/kpov-public@255 5cf9fbd1-b2bc-434c-b4b7-e852f4f63414 --- kpov_judge/tasks/set_ip_static_dhcp/task.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'kpov_judge') diff --git a/kpov_judge/tasks/set_ip_static_dhcp/task.py b/kpov_judge/tasks/set_ip_static_dhcp/task.py index 8c33a90..48f7e69 100644 --- a/kpov_judge/tasks/set_ip_static_dhcp/task.py +++ b/kpov_judge/tasks/set_ip_static_dhcp/task.py @@ -114,16 +114,16 @@ def task_check(results, params): #print results, params if results['NM_nslookup'].find(params['DNS_NM']) > -1: # print "NM_nslookup OK" - score += 3 + score += 2 if results['static_nslookup'].find(params['DNS_static']) > -1: # print "static_nslookup OK" - score += 3 + score += 2 if re.search(r'eth0 +802-.*connected', results['NM_nmcli']): # print "NM_nmcli OK" - score += 2 + score += 3 if re.search(r'eth0 +802-.*unmanaged', results['static_nmcli']): # print "static_nmcli OK" - score += 2 + score += 3 return score def prepare_disks(templates, params): -- cgit v1.2.1