Close Menu
    What's Hot

    YouTube Unblocked Proxy: Overview, Benefits, and Real-World Use Cases

    April 7, 2026

    Linux Kernel Release Frequency Statistics 2026

    April 7, 2026

    How To Use The SSH Login Command

    April 7, 2026
    Facebook X (Twitter) Instagram
    Command Linux
    • About
    • Man Pages
    • Arch Linux
    • Statistics
    • How to
      • Q&A
    • OS
      • Windows
    • Blog
      • Featured
    • MORE
      • Easter Eggs
      • IP Address
    • Write For Us
    • Contact Us
    Command Linux
    Home - man page - SYSTEMD-MACHINE-ID-SETUP

    SYSTEMD-MACHINE-ID-SETUP

    WillieBy WillieFebruary 17, 2026Updated:March 30, 2026No Comments2 Mins Read
     

    NAME

    systemd-machine-id-setup – Initialize the machine ID in /etc/machine-id  

    SYNOPSIS

    systemd-machine-id-setup
     

    DESCRIPTION

    systemd-machine-id-setup

    may be used by system installer tools to initialize the machine ID stored in /etc/machine-id at install time with a randomly generated ID. See machine-id(5) for more information about this file.

    This tool will execute no operation if /etc/machine-id is already initialized.

    If a valid D-Bus machine ID is already configured for the system, the D-Bus machine ID is copied and used to initialize the machine ID in /etc/machine-id.

    If run inside a KVM virtual machine and a UUID is passed via the -uuid option, this UUID is used to initialize the machine ID instead of a randomly generated one. The caller must ensure that the UUID passed is sufficiently unique and is different for every booted instanced of the VM.

    Similarly, if run inside a Linux container environment and a UUID is set for the container this is used to initialize the machine ID. For details see the documentation of the m[blue]Container Interfacem[][1].  

    OPTIONS

    The following options are understood:

    –root=root

    Takes a directory path as an argument. All paths will be prefixed with the given alternate root path, including config search paths.

    -h, –help

    Print a short help text and exit.

    –version

    Print a short version string and exit.
     

    EXIT STATUS

    On success, 0 is returned, a non-zero failure code otherwise.  

    NOTES

    1.
    Container Interface
    http://www.freedesktop.org/wiki/Software/systemd/ContainerInterface

    Willie
    • Website

    Willie has over 15 years of experience in Linux system administration and DevOps. After managing infrastructure for startups and enterprises alike, he founded Command Linux to share the practical knowledge he wished he had when starting out. He oversees content strategy and contributes guides on server management, automation, and security.

    Related Posts

    E2FREEFRAG

    April 7, 2026

    Net::DNS::RR::DHCID

    April 7, 2026

    LOGROTATE

    April 7, 2026

    EVP_MD_CTX_destroy

    April 7, 2026
    Top Posts

    OPENSSL_ia32cap

    April 1, 2026

    How To Fix Steam_api.dll Absent Notifications on Windows

    January 1, 2026

    TEMPNAM

    February 25, 2026

    tclsh

    February 9, 2026
    • Home
    • Contact Us
    • Privacy Policy
    • Terms of Use

    Type above and press Enter to search. Press Esc to cancel.