summaryrefslogtreecommitdiff
path: root/kpov_judge
diff options
context:
space:
mode:
Diffstat (limited to 'kpov_judge')
-rw-r--r--kpov_judge/tasks/set_ip_static_dhcp/task.py8
1 files changed, 4 insertions, 4 deletions
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):