Some extra example hooks
[ext/instance-debootstrap.git] / examples / hooks / defaultpasswords
diff --git a/examples/hooks/defaultpasswords b/examples/hooks/defaultpasswords
new file mode 100755 (executable)
index 0000000..ed1dbd6
--- /dev/null
@@ -0,0 +1,7 @@
+#!/bin/sh
+#
+# This is an example script that sets the root pasword to a given default
+
+cat $(dirname $0)/confdata/defaultpasswords | chroot $TARGET chpasswd
+
+