Make root partition size configurable
With the previous commits in this series, this can now be configured on a per pxe server group basis; but default to all VMs with the same root partition size works fine for me. Change-Id: Idb82466ca887466d3babe2da6998b057e99f676c
This commit is contained in:
parent
2bcbb26215
commit
da19895f2a
@ -14,6 +14,7 @@
|
||||
default_interface: "{{ default_network | default('eth0') }}"
|
||||
default_vm_image: "{{ default_image | default('ubuntu-16.04-amd64') }}"
|
||||
default_vm_storage: "{{ vm_disk_size | default(92160) }}"
|
||||
default_vm_root_disk_size: 8192
|
||||
default_vm_disk_mode: lvm
|
||||
default_vm_disk_vg: vg01
|
||||
default_acng_bind_address: 0.0.0.0
|
||||
|
@ -121,7 +121,7 @@ d-i partman-auto/expert_recipe string \
|
||||
lv_name{ swap00 } \
|
||||
method{ swap } format{ } \
|
||||
. \
|
||||
8192 1 16384 ext4 \
|
||||
{{ default_vm_root_disk_size }} 1 16384 ext4 \
|
||||
$lvmok{ } in_vg{ vmvg00 } \
|
||||
lv_name{ root00 } \
|
||||
method{ format } format{ } \
|
||||
|
Loading…
x
Reference in New Issue
Block a user