diff options
-rwxr-xr-x | functions/defaults.sh | 1 | ||||
-rwxr-xr-x | share/hooks/0200-remove-systemd-machine-id.chroot | 9 |
2 files changed, 10 insertions, 0 deletions
diff --git a/functions/defaults.sh b/functions/defaults.sh index 05bf95a67..8b1b482ea 100755 --- a/functions/defaults.sh +++ b/functions/defaults.sh @@ -633,6 +633,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 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 |