diff options
Diffstat (limited to 'kpov_judge/tasks/smb_nfs')
-rw-r--r-- | kpov_judge/tasks/smb_nfs/task.py | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/kpov_judge/tasks/smb_nfs/task.py b/kpov_judge/tasks/smb_nfs/task.py index 6623248..244ac76 100644 --- a/kpov_judge/tasks/smb_nfs/task.py +++ b/kpov_judge/tasks/smb_nfs/task.py @@ -27,7 +27,7 @@ SimpleArbiterDhcp should have write access to {NFS_MOUNT} over NFS. computers = { 'FileServer': { 'disks': [ - { 'name': 'FileServer', + { 'name': 'student-fileserver', }, #{ 'name': 'CDROM', # 'options':{'readonly': True}, @@ -41,7 +41,7 @@ computers = { }, 'SimpleArbiter': { 'disks': [ - { 'name': 'simpleArbiterDhcp', + { 'name': 'simpleArbiterDhcpGW', # attempt automount }, #{ 'name': 'CDROM', @@ -136,12 +136,12 @@ def task_check(results, params): return score, hints def prepare_disks(templates, params): - d = templates['FileServer'] + d = templates['student-fileserver'] d.mkdir("/srv/nfs") d.mkdir(params['NFS_MOUNT']) d.write(params['NFS_MOUNT'] + "/" + params["SHARED_FILENAME"], params["SHARED_CONTENT"]) - d = templates['SimpleArbiter'] + d = templates['simpleArbiterDhcpGW'] d.mkdir('/mnt/nfs') d.mkdir('/mnt/smb') |