2 .TH "SYSTEMD\-MACHINE\-ID\-SETUP" "1" "" "systemd 218" "systemd-machine-id-setup"
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-setup \- Initialize the machine ID in /etc/machine\-id
25 .HP \w'\fBsystemd\-machine\-id\-setup\fR\ 'u
26 \fBsystemd\-machine\-id\-setup\fR
29 \fBsystemd\-machine\-id\-setup\fR
30 may be used by system installer tools to initialize the machine ID stored in
32 at install time with a randomly generated ID\&. See
34 for more information about this file\&.
36 This tool will execute no operation if
38 is already initialized\&.
40 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
43 If run inside a KVM virtual machine and a UUID is passed via the
45 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\&.
47 Similar, 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
48 \m[blue]\fBContainer Interface\fR\m[]\&\s-2\u[1]\d\s+2\&.
51 \fBsystemd-firstboot\fR(1)
52 to initialize the machine ID on mounted (but not booted) system images\&.
55 The following options are understood:
57 \fB\-\-root=\fR\fB\fIroot\fR\fR
59 Takes a directory path as an argument\&. All paths will be prefixed with the given alternate
61 path, including config search paths\&.
64 \fB\-h\fR, \fB\-\-help\fR
66 Print a short help text and exit\&.
71 Print a short version string and exit\&.
75 On success, 0 is returned, a non\-zero failure code otherwise\&.
80 \fBdbus-uuidgen\fR(1),
81 \fBsystemd-firstboot\fR(1)
86 \%http://www.freedesktop.org/wiki/Software/systemd/ContainerInterface