CmdID

CmdID / Commands

systemd-machine-id-setup

Initialize the machine ID stored in /etc/machine-id at install time with a provisioned or randomly generated ID. tldr-pages

On Linux

Opens CmdID with your command. It is read in your browser and sent nowhere.

Initialize the machine ID stored in /etc/machine-id at install time with a provisioned or randomly generated ID. Note: Always use sudo to execute these commands as they require elevated privileges.

Print the generated or committed machine ID

systemd-machine-id-setup --printIdentify

Specify an image policy

systemd-machine-id-setup --image-policy your_policyIdentify

Display the output as JSON

sudo systemd-machine-id-setup --json prettyIdentify

Operate on a disk image instead of a directory tree

systemd-machine-id-setup --image /path/to/imageIdentify