denisbrodbeck / machineid

Get the unique machine id of any host (without admin privileges)

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Why different machines has same machineId?

heramerom opened this issue · comments

I have two ECS in Aliyun cloud. The machines has the same machineId. but I want a unique id for each machine. How can I do?

I think the Vm merchant is disk clone system. not install from a ISO.

If it's a recent Linux based system, you could try to regenerate the id once when provisioning the vm's initially.

The tool you need is dbus-uuidgen --ensure (see man-page). You also might want to checkout this SE answer with more details, which files exactly to regenerate/remove.