summaryrefslogtreecommitdiffstats
path: root/install/hostdata
diff options
context:
space:
mode:
Diffstat (limited to 'install/hostdata')
-rw-r--r--install/hostdata14
1 files changed, 14 insertions, 0 deletions
diff --git a/install/hostdata b/install/hostdata
new file mode 100644
index 0000000..60b2c9b
--- /dev/null
+++ b/install/hostdata
@@ -0,0 +1,14 @@
+#!/bin/bash
+
+build() {
+ add_file /etc/machine-id
+ add_file /etc/hostname
+}
+
+help() {
+ cat <<HELPEOF
+This hook installs host-specific configuration files into the initramfs.
+HELPEOF
+}
+
+# vim: set ft=sh ts=4 sw=4 et: