diff --git a/src/modules/partition/partition.conf b/src/modules/partition/partition.conf index be0c74b36..ce1d8af49 100644 --- a/src/modules/partition/partition.conf +++ b/src/modules/partition/partition.conf @@ -247,6 +247,13 @@ defaultFileSystemType: "ext4" # to cypher their disk when installing in enterprise (for exemple). #preCheckEncryption: false +# LVM support +# +# There is only one sub-key available, *enable* (defaults to true) +# which can be used to show (default) or hide the LVM buttons in the partitioning module. +lvm: + enable: true + # Partition layout. # # This optional setting specifies a custom partition layout. diff --git a/src/modules/partition/partition.schema.yaml b/src/modules/partition/partition.schema.yaml index 65bc723f5..ef405b46c 100644 --- a/src/modules/partition/partition.schema.yaml +++ b/src/modules/partition/partition.schema.yaml @@ -20,6 +20,12 @@ properties: mountPoint: { type: string } additionalProperties: false + lvm: + type: object + properties: + enable: { type: boolean, default: true } + additionalProperties: false + userSwapChoices: { type: array, items: { type: string, enum: [ none, reuse, small, suspend, file ] } } # ensureSuspendToDisk: { type: boolean, default: true } # Legacy # neverCreateSwap: { type: boolean, default: false } # Legacy