feat(disks): add standardized multi-disk mount schema
This commit is contained in:
@@ -1,22 +1,22 @@
|
||||
---
|
||||
partitioning_luks_enabled: "{{ luks_enabled | bool }}"
|
||||
partitioning_luks_passphrase: "{{ luks_passphrase }}"
|
||||
partitioning_luks_mapper_name: "{{ luks_mapper_name }}"
|
||||
partitioning_luks_type: "{{ luks_type }}"
|
||||
partitioning_luks_cipher: "{{ luks_cipher }}"
|
||||
partitioning_luks_hash: "{{ luks_hash }}"
|
||||
partitioning_luks_iter_time: "{{ luks_iter_time }}"
|
||||
partitioning_luks_key_size: "{{ luks_key_size }}"
|
||||
partitioning_luks_pbkdf: "{{ luks_pbkdf }}"
|
||||
partitioning_luks_use_urandom: "{{ luks_use_urandom | bool }}"
|
||||
partitioning_luks_verify_passphrase: "{{ luks_verify_passphrase | bool }}"
|
||||
partitioning_luks_auto_decrypt: "{{ luks_auto_decrypt | bool }}"
|
||||
partitioning_luks_auto_decrypt_method: "{{ luks_auto_decrypt_method }}"
|
||||
partitioning_luks_tpm2_device: "{{ luks_tpm2_device }}"
|
||||
partitioning_luks_tpm2_pcrs: "{{ luks_tpm2_pcrs }}"
|
||||
partitioning_luks_keyfile_size: "{{ luks_keyfile_size }}"
|
||||
partitioning_luks_options: "{{ luks_options }}"
|
||||
partitioning_btrfs_compress_opt: "{{ 'compress=zstd:15' if zstd_enabled | bool else '' }}"
|
||||
partitioning_luks_enabled: "{{ system_cfg.luks.enabled | bool }}"
|
||||
partitioning_luks_passphrase: "{{ system_cfg.luks.passphrase }}"
|
||||
partitioning_luks_mapper_name: "{{ system_cfg.luks.mapper_name }}"
|
||||
partitioning_luks_type: "{{ system_cfg.luks.type }}"
|
||||
partitioning_luks_cipher: "{{ system_cfg.luks.cipher }}"
|
||||
partitioning_luks_hash: "{{ system_cfg.luks.hash }}"
|
||||
partitioning_luks_iter_time: "{{ system_cfg.luks.iter_time }}"
|
||||
partitioning_luks_key_size: "{{ system_cfg.luks.key_size }}"
|
||||
partitioning_luks_pbkdf: "{{ system_cfg.luks.pbkdf }}"
|
||||
partitioning_luks_use_urandom: "{{ system_cfg.luks.use_urandom | bool }}"
|
||||
partitioning_luks_verify_passphrase: "{{ system_cfg.luks.verify_passphrase | bool }}"
|
||||
partitioning_luks_auto_decrypt: "{{ system_cfg.luks.auto_decrypt | bool }}"
|
||||
partitioning_luks_auto_decrypt_method: "{{ system_cfg.luks.auto_decrypt_method }}"
|
||||
partitioning_luks_tpm2_device: "{{ system_cfg.luks.tpm2_device }}"
|
||||
partitioning_luks_tpm2_pcrs: "{{ system_cfg.luks.tpm2_pcrs }}"
|
||||
partitioning_luks_keyfile_size: "{{ system_cfg.luks.keyfile_size }}"
|
||||
partitioning_luks_options: "{{ system_cfg.luks.options }}"
|
||||
partitioning_btrfs_compress_opt: "{{ 'compress=zstd:15' if system_cfg.features.zstd.enabled | bool else '' }}"
|
||||
partitioning_boot_partition_suffix: 1
|
||||
partitioning_main_partition_suffix: 2
|
||||
partitioning_efi_size_mib: 512
|
||||
@@ -135,7 +135,7 @@ partitioning_vm_memory_effective: >-
|
||||
partitioning_vm_memory
|
||||
if (partitioning_vm_memory is defined and (partitioning_vm_memory | float) > 0)
|
||||
else (
|
||||
(system_cfg.memory_mb if system_cfg is defined else 0)
|
||||
(system_cfg.memory if system_cfg is defined else 0)
|
||||
| default(0)
|
||||
)
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user