summaryrefslogtreecommitdiff
path: root/doc/rtd/topics/cli.rst
diff options
context:
space:
mode:
Diffstat (limited to 'doc/rtd/topics/cli.rst')
-rw-r--r--doc/rtd/topics/cli.rst5
1 files changed, 5 insertions, 0 deletions
diff --git a/doc/rtd/topics/cli.rst b/doc/rtd/topics/cli.rst
index 2e209bb4..1a5f5e2d 100644
--- a/doc/rtd/topics/cli.rst
+++ b/doc/rtd/topics/cli.rst
@@ -67,6 +67,9 @@ instance. On reboot, cloud-init will re-run all stages as it did on first boot.
* ``--logs``: optionally remove all cloud-init log files in ``/var/log/``
* ``--reboot``: reboot the system after removing artifacts
+* ``--machine-id``: Remove ``/etc/machine-id`` on this image. Best practice
+ when cloning a golden image to ensure that the next boot of that image
+ auto-generates an unique machine ID. `More details on machine-id`_.
.. _cli_collect_logs:
@@ -323,3 +326,5 @@ the currently running modules, as well as when it is done.
time: Wed, 17 Jan 2018 20:41:59 +0000
detail:
DataSourceNoCloud [seed=/var/lib/cloud/seed/nocloud-net][dsmode=net]
+
+.. _More details on machine-id: https://www.freedesktop.org/software/systemd/man/machine-id.html