Adding hook to remove systemd machine-id.
authorDaniel Baumann <daniel@debian.org>
Fri, 8 Feb 2013 20:23:11 +0000 (21:23 +0100)
committerDaniel Baumann <daniel@debian.org>
Fri, 8 Feb 2013 20:40:28 +0000 (21:40 +0100)
functions/defaults.sh
share/hooks/0200-remove-systemd-machine-id.chroot [new file with mode: 0755]

index 0a115d5..28bb0a9 100755 (executable)
@@ -624,6 +624,7 @@ Set_defaults ()
                remove-python-py \
                remove-temporary-files \
                remove-udev-persistent-rules \
+               remove-systemd-machine-id \
                update-apt-file-cache \
                update-apt-xapian-index \
                update-glx-alternative \
diff --git a/share/hooks/0200-remove-systemd-machine-id.chroot b/share/hooks/0200-remove-systemd-machine-id.chroot
new file mode 100755 (executable)
index 0000000..52ba38f
--- /dev/null
@@ -0,0 +1,9 @@
+#!/bin/sh
+
+set -e
+
+# Remove systemd machine id.
+#
+# This removes systemd machine id that cache that makes each system unique.
+
+rm -f /etc/machine-id