summaryrefslogtreecommitdiff
path: root/share
diff options
context:
space:
mode:
authorDaniel Baumann <daniel@debian.org>2013-02-08 21:23:11 +0100
committerDaniel Baumann <daniel@debian.org>2013-02-08 21:40:28 +0100
commit4da218e858b18108c66891706f9383f57d8fa6f0 (patch)
treeab84f5c59d3c267bd5c0390754eed868432c9909 /share
parentbc08ea011513d8ad15eed0fd218963438b90a444 (diff)
downloadvyos-live-build-4da218e858b18108c66891706f9383f57d8fa6f0.tar.gz
vyos-live-build-4da218e858b18108c66891706f9383f57d8fa6f0.zip
Adding hook to remove systemd machine-id.
Diffstat (limited to 'share')
-rwxr-xr-xshare/hooks/0200-remove-systemd-machine-id.chroot9
1 files changed, 9 insertions, 0 deletions
diff --git a/share/hooks/0200-remove-systemd-machine-id.chroot b/share/hooks/0200-remove-systemd-machine-id.chroot
new file mode 100755
index 000000000..52ba38fd4
--- /dev/null
+++ b/share/hooks/0200-remove-systemd-machine-id.chroot
@@ -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