summaryrefslogtreecommitdiff
path: root/share
diff options
context:
space:
mode:
authorDaniel Baumann <daniel@debian.org>2011-10-22 18:06:03 +0200
committerDaniel Baumann <daniel@debian.org>2011-10-22 18:06:03 +0200
commit6d7dbfbee903ab3127f9fd4782bc6b8f77e542fd (patch)
tree856be879342d7c6f69350621e7f71506fae4d13a /share
parent06faa01004d7a46cb27a1978c08b35fbeb74fa5a (diff)
downloadvyos-live-build-6d7dbfbee903ab3127f9fd4782bc6b8f77e542fd.tar.gz
vyos-live-build-6d7dbfbee903ab3127f9fd4782bc6b8f77e542fd.zip
Adding hook to remove dbus machine id.
Diffstat (limited to 'share')
-rwxr-xr-xshare/hooks/004-remove-dbus-machine-id.chroot9
1 files changed, 9 insertions, 0 deletions
diff --git a/share/hooks/004-remove-dbus-machine-id.chroot b/share/hooks/004-remove-dbus-machine-id.chroot
new file mode 100755
index 000000000..230099e46
--- /dev/null
+++ b/share/hooks/004-remove-dbus-machine-id.chroot
@@ -0,0 +1,9 @@
+#!/bin/sh
+
+set -e
+
+# Remove dbus machine id.
+#
+# This removes dbus machine id that cache that makes each system unique.
+
+rm -f /var/lib/dbus/machine-id