EnglishFrenchSpanish

OnWorks favicon

systemd-machine-id-setup - Online in the Cloud

Run systemd-machine-id-setup in OnWorks free hosting provider over Ubuntu Online, Fedora Online, Windows online emulator or MAC OS online emulator

This is the command systemd-machine-id-setup that can be run in the OnWorks free hosting provider using one of our multiple free online workstations such as Ubuntu Online, Fedora Online, Windows online emulator or MAC OS online emulator

PROGRAM:

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 provisioned or randomly generated ID.
See machine-id(5) for more information about this file.

If the tool is invoked without the --commit switch, /etc/machine-id is initialized with a
valid, new machined ID if it is missing or empty. The new machine ID will be acquired in
the following fashion:

1. 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.

2. If run inside a KVM virtual machine and a UUID is was configured (via the -uuid
option), this UUID is used to initialize the machine ID. The caller must ensure that
the UUID passed is sufficiently unique and is different for every booted instance of
the VM.

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

4. Otherwise, a new ID is randomly generated.

The --commit switch may be used to commit a transient machined ID to disk, making it
persistent. For details, see below.

Use systemd-firstboot(1) to initialize the machine ID on mounted (but not booted) system
images.

OPTIONS


The following options are understood:

--root=root
Takes a directory path as argument. All paths operated will be prefixed with the given
alternate root path, including the path for /etc/machine-id itself.

--commit
Commit a transient machine ID to disk. This command may be used to convert a transient
machine ID into a persistent one. A transient machine ID file is one that was bind
mounted from a memory file system (usually "tmpfs") to /etc/machine-id during the
early phase of the boot process. This may happen because /etc is initially read-only
and was missing a valid machine ID file at that point.

This command will execute no operation if /etc/machine-id is not mounted from a memory
file system, or if /etc is read-only. The command will write the current transient
machine ID to disk and unmount the /etc/machine-id mount point in a race-free manner
to ensure that this file is always valid and accessible for other processes.

This command is primarily used by the systemd-machine-id-commit.service(8) early boot
service.

-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.

Use systemd-machine-id-setup online using onworks.net services


Free Servers & Workstations

Download Windows & Linux apps

  • 1
    AstrOrzPlayer
    AstrOrzPlayer
    AstrOrz Player is a free media player
    software, part based on WMP and VLC. The
    player is in a minimalist style, with
    more than ten theme colors, and can also
    b...
    Download AstrOrzPlayer
  • 2
    movistartv
    movistartv
    Kodi Movistar+ TV es un ADDON para XBMC/
    Kodi que permite disponer de un
    decodificador de los servicios IPTV de
    Movistar integrado en uno de los
    mediacenters ma...
    Download movistartv
  • 3
    Code::Blocks
    Code::Blocks
    Code::Blocks is a free, open-source,
    cross-platform C, C++ and Fortran IDE
    built to meet the most demanding needs
    of its users. It is designed to be very
    extens...
    Download Code::Blocks
  • 4
    Amidst
    Amidst
    Amidst or Advanced Minecraft Interface
    and Data/Structure Tracking is a tool to
    display an overview of a Minecraft
    world, without actually creating it. It
    can ...
    Download Amidst
  • 5
    MSYS2
    MSYS2
    MSYS2 is a collection of tools and
    libraries providing you with an
    easy-to-use environment for building,
    installing and running native Windows
    software. It con...
    Download MSYS2
  • 6
    libjpeg-turbo
    libjpeg-turbo
    libjpeg-turbo is a JPEG image codec
    that uses SIMD instructions (MMX, SSE2,
    NEON, AltiVec) to accelerate baseline
    JPEG compression and decompression on
    x86, x8...
    Download libjpeg-turbo
  • More »

Linux commands

Ad