Add missing release note for custom partitioning
Change-Id: I73897b1362663eb05424a10dc272909b635e3b63 Depends-On: Ib9429f8d175f227be5b3bf049c7b8196fb331729
This commit is contained in:
parent
1c6f16b480
commit
17a232ad04
64
releasenotes/notes/custom-partitioning-78d7ac12d80a993f.yaml
Normal file
64
releasenotes/notes/custom-partitioning-78d7ac12d80a993f.yaml
Normal file
@ -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 <https://docs.openstack.org/diskimage-builder/latest/user_guide/building_an_image.html#disk-image-layout>`_
|
||||
`Standard Partitioning <http://teknoarticles.blogspot.fr/2017/07/build-and-use-security-hardened-images.html>`_
|
||||
`LVM Partitioning <http://teknoarticles.blogspot.fr/2017/11/security-hardened-images-with-volumes.html>`_
|
Loading…
Reference in New Issue
Block a user