machine-id on new installs are identical

fernie

Active Member
Dec 20, 2017
5
1
41
44
Seems that all new installs will have the same machine id (changes between installation media version)

from man page:
machine ID is a single newline-terminated, hexadecimal, 32-character, lowercase ID. When decoded from hexadecimal, this
corresponds to a 16-byte/128-bit value. This ID may not be all zeros.

The machine ID is usually generated from a random source during system installation or first boot and stays constant for
all subsequent boots. Optionally, for stateless systems, it is generated during runtime during early boot if necessary.


This affects for example bridges created with systemd-networkd resulting in identical MAC addresses, so you can guess the result..

This can be fixed by removing files /etc/machine-id and /var/lib/dbus/machine-id and the generating new by running systemd-machine-id-setup

Could this behaviour be changed for future install isos?
 
yes, please file a bug at bugzilla.proxmox.com - this should be easily fixable.