Add custom layout partitioning
* In case of 'non-clean' partitioning, we may stuck in 400 error from MAAS
The RC of such issue, that we trying to apply totally custom schema, to
any auto-predefined(or not cleaned previosly)
* Add new layout: custom - which means, drop everything befere start part.
* Misc: remove broken and unused func `create_partition_filesystem`
Closes-Bug: PROD-20317 (PROD:20317)
Change-Id: I574c669616b9318b8ecafaf9c8ad4162c01b44e1
diff --git a/README.rst b/README.rst
index e466959..a6e3b17 100644
--- a/README.rst
+++ b/README.rst
@@ -250,7 +250,7 @@
machines:
server3:
disk_layout:
- type: flat #This is simplies setup
+ type: custom
bootable_device: vda
disk:
vda:
@@ -316,8 +316,8 @@
machines:
serverWithRaidExample:
disk_layout:
- #type: flat
- #bootable_device: sda
+ type: custom
+ bootable_device: sda
disk:
md0:
type: raid
@@ -356,7 +356,7 @@
machines:
serverWithRaidExample2:
disk_layout:
- #type: flat
+ type: custom
#bootable_device: vgssd-root
disk:
sda: &maas_disk_physical_ssd