aboutsummaryrefslogtreecommitdiff
path: root/scripts/hostname/nfs1/10-homedirs
diff options
context:
space:
mode:
authorCullum Smith <cullum@sacredheartsc.com>2024-10-31 21:36:39 -0400
committerCullum Smith <cullum@sacredheartsc.com>2024-10-31 21:36:39 -0400
commit2c9845db4bc00221bc3c2343a020208f7f532166 (patch)
tree843bc24a1bbf2cad33c4bdc8a17c3d0d838fceb4 /scripts/hostname/nfs1/10-homedirs
parent7eb111136453d0e8d8451d7dd85ba9892318f294 (diff)
downloadinfrastructure-2c9845db4bc00221bc3c2343a020208f7f532166.tar.gz
many fixes
Diffstat (limited to 'scripts/hostname/nfs1/10-homedirs')
-rw-r--r--scripts/hostname/nfs1/10-homedirs6
1 files changed, 5 insertions, 1 deletions
diff --git a/scripts/hostname/nfs1/10-homedirs b/scripts/hostname/nfs1/10-homedirs
index 3a6d923..db0c1e0 100644
--- a/scripts/hostname/nfs1/10-homedirs
+++ b/scripts/hostname/nfs1/10-homedirs
@@ -1,8 +1,12 @@
#!/bin/sh
-default_priv_quota=250G
+default_priv_quota=50G
default_pub_quota=10G
+# Format: username:privquota:pubquota. For example:
+# nfs_homedirs='joe:250G:10G jane:250G'
+# nfs_groupdirs='sysadmins:250G doefamily:100G:10G'
+
# Create user home directories.
for userquota in ${nfs_homedirs:-}; do
user=$(echo "$userquota" | awk -F: '{print $1}')