add additional partitions to docs

This commit is contained in:
Michael Gerlach 2017-01-31 21:54:10 +01:00
parent c088e1afac
commit 029fc221a1

View file

@ -302,7 +302,7 @@ boot, root and swap.
- ``{fs}``: The filesystem of the partition. - ``{fs}``: The filesystem of the partition.
- ``{device_path}``: The device path of the partition. - ``{device_path}``: The device path of the partition.
- ``{size}``: The size of the partition. - ``{size}``: The size of the partition.
- ``mount_opts``: Options to mount the partition with. This optional - ``{mount_opts}``: Options to mount the partition with. This optional
setting overwrites the default option list bootstrap-vz would setting overwrites the default option list bootstrap-vz would
normally use to mount the partiton (defaults). The List is specified normally use to mount the partiton (defaults). The List is specified
as a string array where each option/argument is an item in that array. as a string array where each option/argument is an item in that array.
@ -315,13 +315,16 @@ boot, root and swap.
The default command used by boostrap-vz is The default command used by boostrap-vz is
``['mkfs.{fs}', '{device_path}']``. ``['mkfs.{fs}', '{device_path}']``.
- ``boot``: Configuration of the boot partition. The three - ``boot``: Configuration of the boot partition. All settings equal
settings equal those of the root partition. those of the root partition.
``optional`` ``optional``
- ``swap``: Configuration of the swap partition. Since the swap - ``swap``: Configuration of the swap partition. Since the swap
partition has its own filesystem you can only specify the size for partition has its own filesystem you can only specify the size for
this partition. this partition.
``optional`` ``optional``
- ``additional_path``: Configuration of additional partitions. (e.g. /var/tmp)
All settings equal those of the root partition.
Example: Example: