From 44f44a29cc1346c0783d679374ce98d81bf6400c Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Thu, 15 Mar 2012 22:36:33 +0100 Subject: man: document systemd-machine-id-setup(1) --- man/machine-id.xml | 6 +++ man/systemd-cat.xml | 2 +- man/systemd-machine-id-setup.xml | 114 +++++++++++++++++++++++++++++++++++++++ 3 files changed, 121 insertions(+), 1 deletion(-) create mode 100644 man/systemd-machine-id-setup.xml (limited to 'man') diff --git a/man/machine-id.xml b/man/machine-id.xml index 6ca9990988..97c622c6fa 100644 --- a/man/machine-id.xml +++ b/man/machine-id.xml @@ -81,6 +81,11 @@ a more useful replacement for the gethostid3 call POSIX specifies. + + The + systemd-machine-id-setup1 + tool may be used by installer tools to initialize the + machine ID at install time. @@ -127,6 +132,7 @@ id[8] = (id[8] & 0x3F) | 0x80; See Also systemd1, + systemd-machine-id-setup1, gethostid3, hostname5, machine-info5, diff --git a/man/systemd-cat.xml b/man/systemd-cat.xml index 41b3685378..5e5431f1b2 100644 --- a/man/systemd-cat.xml +++ b/man/systemd-cat.xml @@ -5,7 +5,7 @@ + + + + + + + + systemd-machine-id-setup + systemd + + + + Developer + Lennart + Poettering + lennart@poettering.net + + + + + + systemd-machine-id-setup + 1 + + + + systemd-machine-id-setup + Initialize the machine ID in /etc/machine-id + + + + + 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-id5 + 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 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. + + 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 Container + Interface. + + + + + Options + + This tool does not take any options or arguments. + + + + Exit status + + On success 0 is returned, a non-zero failure + code otherwise. + + + + See Also + + systemd1, + machine-id5, + dbus-uuidgen1 + + + + -- cgit v1.2.3-54-g00ecf