Add docs about partition resizing for CentOS
The CentOS custom cloud image example is missing the proper depedency to grow the root partition and also omits that the root partition should be the last partition created during disk partitioning. Change-Id: I9a35393c933472d86a21830ff6077e28fee68745
This commit is contained in:
parent
67d65c2904
commit
3f0a09fe99
@ -122,8 +122,11 @@ three partitions (``/boot``, ``/``, ``swap``), which works fine.
|
||||
Alternatively, you might want to create a single ext4
|
||||
partition that is mounted to ``/``, which also works fine.
|
||||
|
||||
If unsure, use the default partition scheme for the installer
|
||||
because no scheme is better than another.
|
||||
If unsure, use the default partition scheme for the installer.
|
||||
While no scheme is inherently better than another, having the
|
||||
partition that you want to dynamically grow at the end of the
|
||||
list will allow it to grow without crossing another
|
||||
partition's boundary.
|
||||
|
||||
Select installation option
|
||||
--------------------------
|
||||
@ -235,6 +238,18 @@ to the configuration file:
|
||||
|
||||
user: admin
|
||||
|
||||
Install cloud-utils-growpart to allow partitions to resize
|
||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
|
||||
In order for the root partition to properly resize one must
|
||||
install cloud-utils-growpart which contains the proper tools
|
||||
to allow the disk to resize using cloud-init.
|
||||
|
||||
.. code-block:: console
|
||||
|
||||
# yum install cloud-utils-growpart
|
||||
|
||||
|
||||
Write a script to fetch the public key (if no cloud-init)
|
||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user