Ubuntu/machine-id

From Omnia
Jump to navigation Jump to search

Ubuntu to regen machine-id [1]

# clear
rm -f /etc/machine-id /var/lib/dbus/machine-id
# regen
dbus-uuidgen --ensure
systemd-machine-id-setup
# verify:
cat /etc/machine-id /var/lib/dbus/machine-id
hostnamectl