1SYSTEMD-MACHINE-ID-COMMIT(1)systemd-machine-id-commiStYSTEMD-MACHINE-ID-COMMIT(1)
2
3
4

NAME

6       systemd-machine-id-commit - Commit transient machine ID to
7       /etc/machine-id
8

SYNOPSIS

10       systemd-machine-id-commit
11

DESCRIPTION

13       systemd-machine-id-commit may be used to write on disk any transient
14       machine ID mounted as a temporary file system in /etc/machine-id at
15       boot time. See machine-id(5) for more information about this file.
16
17       This tool will execute no operation if /etc/machine-id doesn't contain
18       any valid machine ID, isn't mounted as an independent temporary file
19       system, of /etc is read-only. If those conditions are met, it will then
20       write current machine ID to disk and unmount the transient
21       /etc/machine-id file in a race-free manner to ensure that this file is
22       always valid for other processes.
23
24       Note that the traditional way to initialize the machine ID in
25       /etc/machine-id is to use systemd-machine-id-setup by system installer
26       tools. You can also use systemd-firstboot(1) to initialize the machine
27       ID on mounted (but not booted) system images.
28

OPTIONS

30       The following options are understood:
31
32       --root=root
33           Takes a directory path as an argument. All paths will be prefixed
34           with the given alternate root path, including config search paths.
35
36       -h, --help
37           Print a short help text and exit.
38
39       --version
40           Print a short version string and exit.
41

EXIT STATUS

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

SEE ALSO

46       systemd(1), systemd-machine-id-commit.service(8), systemd-machine-id-
47       setup(1), machine-id(5), systemd-firstboot(1)
48
49
50
51systemd 219                                       SYSTEMD-MACHINE-ID-COMMIT(1)
Impressum