2 .TH "SYSTEMD\-MACHINE\-ID\-COMMIT" "1" "" "systemd 218" "systemd-machine-id-commit"
3 .\" -----------------------------------------------------------------
4 .\" * Define some portability stuff
5 .\" -----------------------------------------------------------------
6 .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
7 .\" http://bugs.debian.org/507673
8 .\" http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html
9 .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
12 .\" -----------------------------------------------------------------
13 .\" * set default formatting
14 .\" -----------------------------------------------------------------
15 .\" disable hyphenation
17 .\" disable justification (adjust text to left margin only)
19 .\" -----------------------------------------------------------------
20 .\" * MAIN CONTENT STARTS HERE *
21 .\" -----------------------------------------------------------------
23 systemd-machine-id-commit \- Commit transient machine ID to /etc/machine\-id
25 .HP \w'\fBsystemd\-machine\-id\-commit\fR\ 'u
26 \fBsystemd\-machine\-id\-commit\fR
29 \fBsystemd\-machine\-id\-commit\fR
30 may be used to write on disk any transient machine ID mounted as a temporary file system in
34 for more information about this file\&.
36 This tool will execute no operation if
38 doesn\*(Aqt contain any valid machine ID, isn\*(Aqt mounted as an independent temporary file system, of
40 is read\-only\&. If those conditions are met, it will then write current machine ID to disk and unmount the transient
42 file in a race\-free manner to ensure that this file is always valid for other processes\&.
44 Note that the traditional way to initialize the machine ID in
47 \fBsystemd\-machine\-id\-setup\fR
48 by system installer tools\&. You can also use
49 \fBsystemd-firstboot\fR(1)
50 to initialize the machine ID on mounted (but not booted) system images\&.
53 The following options are understood:
55 \fB\-\-root=\fR\fB\fIroot\fR\fR
57 Takes a directory path as an argument\&. All paths will be prefixed with the given alternate
59 path, including config search paths\&.
62 \fB\-h\fR, \fB\-\-help\fR
64 Print a short help text and exit\&.
69 Print a short version string and exit\&.
73 On success, 0 is returned, a non\-zero failure code otherwise\&.
77 \fBsystemd-machine-id-commit.service\fR(8),
78 \fBsystemd-machine-id-setup\fR(1),
80 \fBsystemd-firstboot\fR(1)