2013-02-08 19:23:11 -01:00
|
|
|
#!/bin/sh
|
|
|
|
|
|
|
|
set -e
|
|
|
|
|
2014-04-25 17:02:06 +00:00
|
|
|
# Blank out systemd machine id. If it does not exist, systemd-journald
|
|
|
|
# will fail, but if it exists and is empty, systemd will automatically
|
|
|
|
# set up a new unique ID.
|
2013-02-08 19:23:11 -01:00
|
|
|
|
2014-04-25 17:02:06 +00:00
|
|
|
if [ -e /etc/machine-id ]
|
|
|
|
then
|
|
|
|
rm -f /etc/machine-id
|
|
|
|
: > /etc/machine-id
|
|
|
|
fi
|