5.17. Specifying a partition mode
Use the partitioning_mode variable to select how to partition the disk image that you are building.
You can customize your image with the following supported modes:
-
auto-lvm: It uses the raw partition mode, unless there is one or more filesystem customizations. In that case, it uses the LVM partition mode. -
lvm: It always uses the LVM partition mode, even when there is no extra mount points. -
raw: It uses raw partitions even when there are one or more mount points.
Prerequisites
- You have created a blueprint.
Procedure
You can customize your blueprint with the
partitioning_modevariable by using the following customization:[customizations] partitioning_mode = "lvm"