Skip to content

Linux Host Machine ID

  1. Machine ID is unique Identifier for Linux Systems
  2. It is stored in /etc/machine-id
  3. Typically, 128-Bit
  4. Generated during installation of the system
cat /etc/machine-id
  1. This id is used to request IP from DHCP

Truncate Machine ID

sudo truncate -s 0 /etc/machine-id

:::info truncate -s 0 will make the file size 0 :::