summaryrefslogtreecommitdiff
path: root/share/hooks
diff options
context:
space:
mode:
authorDaniel Baumann <daniel@debian.org>2013-02-08 21:23:11 +0100
committerDaniel Baumann <mail@daniel-baumann.ch>2013-05-06 14:50:05 +0200
commit772af176991856f27f478c8a5b50c8abe071c66f (patch)
treeb33918160695bc09ca79782efd04985b4b078071 /share/hooks
parent2fb4009a8cf938697230c81518ac34faa60368f4 (diff)
downloadvyos-live-build-772af176991856f27f478c8a5b50c8abe071c66f.tar.gz
vyos-live-build-772af176991856f27f478c8a5b50c8abe071c66f.zip
Adding hook to remove systemd machine-id.
Diffstat (limited to 'share/hooks')
-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