summaryrefslogtreecommitdiff
path: root/kpov_judge/tasks/isc_dhcp_live_boot/task.py
diff options
context:
space:
mode:
authorgasperfele@fri1.uni-lj.si <gasperfele@fri1.uni-lj.si@5cf9fbd1-b2bc-434c-b4b7-e852f4f63414>2015-04-09 18:00:43 +0000
committergasperfele@fri1.uni-lj.si <gasperfele@fri1.uni-lj.si@5cf9fbd1-b2bc-434c-b4b7-e852f4f63414>2015-04-09 18:00:43 +0000
commitd3e8f24b4da66059058627168f3f71eaf7626a93 (patch)
treecf2f524d42af38ef0b5ea556f8bc41df4bf07779 /kpov_judge/tasks/isc_dhcp_live_boot/task.py
parent54c45f7e5e85a088eeb301fb3677f9c743cccbb5 (diff)
fixed disk template names
git-svn-id: https://svn.lusy.fri.uni-lj.si/kpov-public-svn/kpov-public@298 5cf9fbd1-b2bc-434c-b4b7-e852f4f63414
Diffstat (limited to 'kpov_judge/tasks/isc_dhcp_live_boot/task.py')
-rw-r--r--kpov_judge/tasks/isc_dhcp_live_boot/task.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/kpov_judge/tasks/isc_dhcp_live_boot/task.py b/kpov_judge/tasks/isc_dhcp_live_boot/task.py
index 0e86c11..eb4ad01 100644
--- a/kpov_judge/tasks/isc_dhcp_live_boot/task.py
+++ b/kpov_judge/tasks/isc_dhcp_live_boot/task.py
@@ -45,7 +45,7 @@ Both BootableCLientA and BootableClientB should be diskless.
computers = {
'DHCPServer': {
'disks': [
- { 'name': 'DHCPServer',
+ { 'name': 'student-DHCPServer',
},
{ 'name': 'bootable_usb',
'options':{'readonly': True},
@@ -196,7 +196,7 @@ def task_check(results, params):
def prepare_disks(templates, params):
# d = templates['simpleArbiterDhcp']
- d = templates['DHCPServer']
+ d = templates['student-DHCPServer']
s = """# use this exact config for your booting clients.
# search path for the c32 support libraries (libcom32, libutil etc.)
path
@@ -206,7 +206,7 @@ prompt 0
timeout 0
# {}""".format(params['TFTP_STRING'])
d.write('/mnt/syslinux.cfg', s)
- d = templates['SimpleArbiter']
+ d = templates['simpleArbiterGW']
s = """auto lo
iface lo inet loopback