kiwi-el8/doc/source/commands/image_resize.rst
Marcus Schäfer 23c198dc03
Update manual page documentation
Fixed manual pages to use kiwi-ng as the command name
2020-02-25 10:42:02 +01:00

50 lines
1.1 KiB
ReStructuredText

.. _db_kiwi_image_resize:
kiwi-ng image resize
====================
.. _db_kiwi_image_resize_synopsis:
SYNOPSIS
--------
.. code:: bash
kiwi-ng [global options] service <command> [<args>]
kiwi-ng image resize -h | --help
kiwi-ng image resize --target-dir=<directory> --size=<size>
[--root=<directory>]
kiwi-ng image resize help
.. _db_kiwi_image_resize_desc:
DESCRIPTION
-----------
For disk based images, allow to resize the image to a new disk geometry.
The additional space is free and not in use by the image. In order to
make use of the additional free space a repartition process is required
like it is provided by kiwi's oem boot code. Therefore the resize operation
is useful for oem image builds most of the time.
.. _db_kiwi_image_resize_opts:
OPTIONS
-------
--root=<directory>
The path to the root directory, if not specified kiwi
searches the root directory in build/image-root below
the specified target directory
--size=<size>
New size of the image. The value is either a size in bytes
or can be specified with m=MB or g=GB. Example: 20g
--target-dir=<directory>
Directory containing the kiwi build results