summaryrefslogtreecommitdiffstats
path: root/core/modules/demo-user
diff options
context:
space:
mode:
Diffstat (limited to 'core/modules/demo-user')
-rw-r--r--core/modules/demo-user/module.build13
-rw-r--r--core/modules/demo-user/module.conf4
2 files changed, 17 insertions, 0 deletions
diff --git a/core/modules/demo-user/module.build b/core/modules/demo-user/module.build
new file mode 100644
index 00000000..92c3dde3
--- /dev/null
+++ b/core/modules/demo-user/module.build
@@ -0,0 +1,13 @@
+#!/bin/bash
+fetch_source() {
+ :
+}
+
+build() {
+ :
+}
+
+post_copy() {
+ DEMO_ID="$(USER=demo PASSWORD= USERHOME=/home/demo USERSHELL=/bin/bash add_user)"
+ [ -n "$DEMO_ID" ] && pinfo "Created user demo"
+}
diff --git a/core/modules/demo-user/module.conf b/core/modules/demo-user/module.conf
new file mode 100644
index 00000000..8811668a
--- /dev/null
+++ b/core/modules/demo-user/module.conf
@@ -0,0 +1,4 @@
+#!/bin/bash
+REQUIRED_BINARIES=""
+REQUIRED_LIBRARIES=""
+REQUIRED_DIRECTORIES=""