nodes/home.nas: add users to "nas" group, add cronjobs to ensure permissions on nas dataset
All checks were successful
bundlewrap/pipeline/head This commit looks good
All checks were successful
bundlewrap/pipeline/head This commit looks good
This commit is contained in:
parent
9e2cb92766
commit
84d1984cc1
2 changed files with 19 additions and 0 deletions
|
@ -18,6 +18,9 @@ files = {
|
|||
},
|
||||
}
|
||||
|
||||
for group, attrs in node.metadata.get('groups', {}).items():
|
||||
groups[group] = attrs
|
||||
|
||||
for username, attrs in node.metadata['users'].items():
|
||||
home = attrs.get('home', '/home/{}'.format(username))
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue