summaryrefslogtreecommitdiffstats
path: root/core/modules/demo-user/module.build
diff options
context:
space:
mode:
Diffstat (limited to 'core/modules/demo-user/module.build')
-rw-r--r--core/modules/demo-user/module.build15
1 files changed, 15 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..91a9af21
--- /dev/null
+++ b/core/modules/demo-user/module.build
@@ -0,0 +1,15 @@
+#!/bin/bash
+fetch_source() {
+ :
+}
+
+build() {
+ :
+}
+
+post_copy() {
+ set -x
+ DEMO_ID="$(USER=demo PASSWORD= USERHOME=/home/demo USERSHELL=/bin/bash add_user)"
+ [ -n "$DEMO_ID" ] && pinfo "Created user demo"
+ set +x
+}