From 61d748d549fd081e2055d4a845e98d30554effad Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Yao=20Wei=20=28=E9=AD=8F=E9=8A=98=E5=BB=B7=29?= Date: Mon, 12 Feb 2024 16:47:17 +0800 Subject: [PATCH] doc: add Reset Partition to `autoinstall-reference.rst` --- doc/reference/autoinstall-reference.rst | 35 +++++++++++++++++++++++++ 1 file changed, 35 insertions(+) diff --git a/doc/reference/autoinstall-reference.rst b/doc/reference/autoinstall-reference.rst index 66f05db3..ca07c0d6 100644 --- a/doc/reference/autoinstall-reference.rst +++ b/doc/reference/autoinstall-reference.rst @@ -423,6 +423,41 @@ Example with no size scaling and a passphrase: sizing-policy: all password: LUKS_PASSPHRASE +Reset Partition +^^^^^^^^^^^^^^^ + +``reset-partition`` is used for creating a Reset Partition, which is a FAT32 file system containing the entire content of the installer image, so that the user can start the installer from GRUB or EFI without using the installation media. This option is useful for OEM system provisioning. + +By default, the size of a Reset Partition is roughly 1.1x the used file system size of the installation media. + +An example to enable Reset Partition: + +.. code-block:: yaml + + storage: + layout: + name: direct + reset-partition: true + +The size of the reset partition can also be fixed to a specified size. This is an example to fix Reset Partition to 12 GiB: + +.. code-block:: yaml + + storage: + layout: + name: direct + reset-partition: 12G + +The installer can also install Reset Partition without installing the system. To do this, set ``reset-partition-only`` to ``true``: + +.. code-block:: yaml + + storage: + layout: + name: direct + reset-partition: true + reset-partition-only: true + Action-based configuration ^^^^^^^^^^^^^^^^^^^^^^^^^^