Share student home directories with teachers in VMs
This commit is contained in:
parent
becf8fb451
commit
83522e7513
1 changed files with 3 additions and 1 deletions
|
|
@ -57,7 +57,9 @@ def get_krb5 ():
|
||||||
def get_mounts():
|
def get_mounts():
|
||||||
mounts = []
|
mounts = []
|
||||||
mounts.append({ 'Drive': 'H', 'RemotePath': '\\\\server.pn.steinbeis.schule' + nethome.replace('/srv/samba/schools','').replace('/','\\'), 'Name': 'Home_Server' })
|
mounts.append({ 'Drive': 'H', 'RemotePath': '\\\\server.pn.steinbeis.schule' + nethome.replace('/srv/samba/schools','').replace('/','\\'), 'Name': 'Home_Server' })
|
||||||
mounts.append({ 'Drive': 'T', 'RemotePath': '\\\\server.pn.steinbeis.schule\default-school\share', 'Name': 'Tausch' })
|
mounts.append({ 'Drive': 'T', 'RemotePath': '\\\\server.pn.steinbeis.schule\\default-school\\share', 'Name': 'Tausch' })
|
||||||
|
if "role-teacher" in vminfo['Groups']:
|
||||||
|
mounts.append({ 'Drive': 'S', 'RemotePath': '\\\\server.pn.steinbeis.schule\\default-school\\students', 'Name': 'SuS' })
|
||||||
return mounts
|
return mounts
|
||||||
|
|
||||||
def get_user_folders():
|
def get_user_folders():
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue