Rocky Linux machine-id
Introduction
Find out your own machine-id
cat /etc/machine-id
4ab7d70cacd0d33ca5bc9b2344e5e328
Change machine-id
Delete the old machine-id
sudo rm /etc/machine-id
Generate a new machine-id
sudo systemd-machine-id-setup
Check the result
cat /etc/machine-id
Now it is advisable to reboot and check that everything works correctly
Create a new machine-id
If you deleted the machine-id, you can create a new one with the command
systemd-machine-id-setup
Change machine-id
If the same id is generated all the time, it most likely comes from somewhere else
You can generate it yourself with dbus--uuidgen
rm -f /etc/machine-id
dbus-uuidgen --ensure=/etc/machine-id
dbus-uuidge --ensure
cat /etc/machine-id
Article author: Andrei Olegovich