Disk partitioning
Ability to create partitions on empty disks.
Change-Id: I0a71da9d62d8f7df3fa03e3f34d49bad6988ba6d
diff --git a/README.rst b/README.rst
index 51e6370..ca6d005 100644
--- a/README.rst
+++ b/README.rst
@@ -1269,6 +1269,28 @@
size: 40G
mount: ${linux:storage:mount:data}
+Create partitions on disk. Specify size in MB. It expects empty
+disk without any existing partitions.
+
+.. code-block:: yaml
+
+ linux:
+ storage:
+ disk:
+ first_drive:
+ name: /dev/loop1
+ type: gpt
+ partitions:
+ - size: 200 #size in MB
+ type: fat32
+ - size: 300 #size in MB
+ type: ext4
+ /dev/vda1:
+ partitions:
+ - size: 5
+ type: ext2
+ - size: 10
+ type: ext4
Multipath with Fujitsu Eternus DXL