summaryrefslogtreecommitdiff
path: root/roles/installer/debian
diff options
context:
space:
mode:
authorChristian Pointner <equinox@spreadspace.org>2022-05-10 18:23:34 +0200
committerChristian Pointner <equinox@spreadspace.org>2022-05-10 18:44:58 +0200
commit368e060becaafe4e3551b6623560eacbbb8eabb4 (patch)
tree1db8532b8db72a1632ccbd533d634f19f0b5ab76 /roles/installer/debian
parentMerge branch 'topic/k8s-1.24' (diff)
system_lvm: make default volume sizes overideable
Diffstat (limited to 'roles/installer/debian')
-rw-r--r--roles/installer/debian/preseed/defaults/main.yml6
1 files changed, 3 insertions, 3 deletions
diff --git a/roles/installer/debian/preseed/defaults/main.yml b/roles/installer/debian/preseed/defaults/main.yml
index fd57ef57..7e271783 100644
--- a/roles/installer/debian/preseed/defaults/main.yml
+++ b/roles/installer/debian/preseed/defaults/main.yml
@@ -31,15 +31,15 @@ debian_preseed_system_lvm_reserve_default: 384M
debian_preseed_system_lvm_size_default: all
debian_preseed_system_lvm_volumes_default:
- name: root
- size: 2560M
+ size: "{{ system_lvm_volume_size_root | default('2560M') }}"
filesystem: ext4
mountpoint: /
- name: var
- size: 1280M
+ size: "{{ system_lvm_volume_size_var | default('1280M') }}"
filesystem: ext4
mountpoint: /var
- name: var+log
- size: 768M
+ size: "{{ system_lvm_volume_size_varlog | default('768M') }}"
filesystem: ext4
mountpoint: /var/log
mount_options: