summaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
Diffstat (limited to 'templates')
-rw-r--r--templates/system/login/user/node.tag/group/node.def10
-rw-r--r--templates/system/login/user/node.tag/home-directory/node.def2
2 files changed, 12 insertions, 0 deletions
diff --git a/templates/system/login/user/node.tag/group/node.def b/templates/system/login/user/node.tag/group/node.def
new file mode 100644
index 00000000..4466c5de
--- /dev/null
+++ b/templates/system/login/user/node.tag/group/node.def
@@ -0,0 +1,10 @@
+multi:
+type: txt
+help: Set additional group membership
+syntax:expression: ! $VAR(@) in "quaggavty", "vyattacfg", "sudo", "adm", "operator" ;
+ "Use configuration level to change membership of operator and admin groups"
+allowed: awk -F: '
+ $1 == "quaggavty" || $1 == "vyattacfg" || \
+ $1 == "sudo" || $1 == "adm" || $1 == "operator" { next; }
+ {printf "%s ", $1}' </etc/group
+comp_help: Enter group name or numerical group id
diff --git a/templates/system/login/user/node.tag/home-directory/node.def b/templates/system/login/user/node.tag/home-directory/node.def
new file mode 100644
index 00000000..3dbd8a19
--- /dev/null
+++ b/templates/system/login/user/node.tag/home-directory/node.def
@@ -0,0 +1,2 @@
+type: txt
+help: Set home directory