summaryrefslogtreecommitdiff
path: root/man
diff options
context:
space:
mode:
authorDaan De Meyer <daan.j.demeyer@gmail.com>2022-12-22 11:05:08 +0100
committerDaan De Meyer <daan.j.demeyer@gmail.com>2023-04-01 10:50:15 +0200
commit05eb2c60bd7308550cbbfe463c953d60be5f4375 (patch)
tree3c21ed081d52133ea9870cb2fd20b8f4d91dba35 /man
parentb39710cccf42fd31ff84fb27f84741cbb0ff82c3 (diff)
downloadsystemd-05eb2c60bd7308550cbbfe463c953d60be5f4375.tar.gz
firstboot: Add --reset option
This can be used to prepare an image for firstboot by removing all files that systemd knows about that contain machine specific information.
Diffstat (limited to 'man')
-rw-r--r--man/systemd-firstboot.xml10
1 files changed, 10 insertions, 0 deletions
diff --git a/man/systemd-firstboot.xml b/man/systemd-firstboot.xml
index cfce8a40ad..42666c96f8 100644
--- a/man/systemd-firstboot.xml
+++ b/man/systemd-firstboot.xml
@@ -265,6 +265,16 @@
</varlistentry>
<varlistentry>
+ <term><option>--reset</option></term>
+
+ <listitem><para>If specified, all existing files that are configured by
+ <command>systemd-firstboot</command> are removed. Note that the files are removed regardless of
+ whether they'll be configured with a new value or not. This operation ensures that the next boot of
+ the image will be considered a first boot, and <command>systemd-firstboot</command> will prompt again
+ to configure each of the removed files.</para></listitem>
+ </varlistentry>
+
+ <varlistentry>
<term><option>--delete-root-password</option></term>
<listitem><para>Removes the password of the system's root user, enabling login as root without a