From b209e8c5e965965c50878fb57a628bca83a06f8d Mon Sep 17 00:00:00 2001 From: Thomas Bächler Date: Sun, 31 Aug 2014 09:13:29 +0200 Subject: Add 'hostdata' hook This hook adds host-specific configuration to the image. Currently, it adds the hostname and machine-id files for usage with journald. --- install/hostdata | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 install/hostdata 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 <