From 17a232ad04967beb4e9787783d9a538a5160ff41 Mon Sep 17 00:00:00 2001 From: Olivier Bourdon Date: Tue, 13 Mar 2018 06:38:43 +0100 Subject: [PATCH] Add missing release note for custom partitioning Change-Id: I73897b1362663eb05424a10dc272909b635e3b63 Depends-On: Ib9429f8d175f227be5b3bf049c7b8196fb331729 --- .../custom-partitioning-78d7ac12d80a993f.yaml | 64 +++++++++++++++++++ 1 file changed, 64 insertions(+) create mode 100644 releasenotes/notes/custom-partitioning-78d7ac12d80a993f.yaml diff --git a/releasenotes/notes/custom-partitioning-78d7ac12d80a993f.yaml b/releasenotes/notes/custom-partitioning-78d7ac12d80a993f.yaml new file mode 100644 index 000000000..b2bd5c8b1 --- /dev/null +++ b/releasenotes/notes/custom-partitioning-78d7ac12d80a993f.yaml @@ -0,0 +1,64 @@ +--- +features: + - | + Custom partitioning YAML file can now be specified using partitioning_file + variable which contains a path to the YAML file describing the partitions + layout. For example: + + .. code-block:: yaml + + - local_loop: + name: image0 + - partitioning: + base: image0 + label: mbr + partitions: + - name: root + flags: [ boot,primary ] + size: 6G + mkfs: + type: xfs + label: "img-rootfs" + mount: + mount_point: / + fstab: + options: "rw,relatime" + fck-passno: 1 + - name: tmp + size: 1G + mkfs: + type: xfs + mount: + mount_point: /tmp + fstab: + options: "rw,nosuid,nodev,noexec,relatime" + - name: var + size: 7G + mkfs: + type: xfs + mount: + mount_point: /var + fstab: + options: "rw,relatime" + - name: log + size: 5G + mkfs: + type: xfs + mount: + mount_point: /var/log + fstab: + options: "rw,relatime" + - name: home + size: 1G + mkfs: + type: xfs + mount: + mount_point: /home + fstab: + options: "rw,nodev,relatime" + + + For more informations please refer to the following links: + `Disk Image Layout Section `_ + `Standard Partitioning `_ + `LVM Partitioning `_