From 18e46bcafc2316c53d167cf6550fb69bd4e3be79 Mon Sep 17 00:00:00 2001 From: Cullum Smith Date: Fri, 18 Oct 2024 23:40:11 -0400 Subject: add more automount dirs (need to clean this up) --- scripts/hostname/nfs1 | 131 +++++++++++++++++++++++++++++++++++++++++++++----- 1 file changed, 118 insertions(+), 13 deletions(-) (limited to 'scripts/hostname/nfs1') diff --git a/scripts/hostname/nfs1 b/scripts/hostname/nfs1 index 98d5bcc..673c7a9 100644 --- a/scripts/hostname/nfs1 +++ b/scripts/hostname/nfs1 @@ -1,18 +1,59 @@ #!/bin/sh -homedir_priv_quota=250G -homedir_pub_quota=10G +nfs_mount_opts='-nfsv4,gssname=host,sec=krb5p' -create_dataset "${nfs_dataset}/user" -create_dataset "${nfs_dataset}/group" +default_priv_quota=250G +default_pub_quota=10G -for user in ${nfs_homedirs:-}; do - create_dataset "${nfs_dataset}/user/${user}" - create_dataset "${nfs_dataset}/user/${user}/priv" - create_dataset "${nfs_dataset}/user/${user}/pub" +# Add /home autofs map. +ldap_add "automountKey=/home,automountMapName=auto_master,${automount_basedn}" <