aboutsummaryrefslogtreecommitdiff
path: root/scripts/hostname/nfs1/10-homedirs
diff options
context:
space:
mode:
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}')