set lvm options only if pv is defined
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
dbe5235cf9
commit
a20d2e92cc
@ -3,8 +3,8 @@
|
|||||||
STORAGE_DRIVER=overlay2
|
STORAGE_DRIVER=overlay2
|
||||||
{% if dockerengine_storage_pvs is defined %}
|
{% if dockerengine_storage_pvs is defined %}
|
||||||
DEVS={{ dockerengine_storage_pvs }}
|
DEVS={{ dockerengine_storage_pvs }}
|
||||||
{% endif %}
|
|
||||||
CONTAINER_ROOT_LV_NAME={{ dockerengine_storage_lv }}
|
CONTAINER_ROOT_LV_NAME={{ dockerengine_storage_lv }}
|
||||||
CONTAINER_ROOT_LV_SIZE={{ dockerengine_storage_size }}
|
CONTAINER_ROOT_LV_SIZE={{ dockerengine_storage_size }}
|
||||||
CONTAINER_ROOT_LV_MOUNT_PATH={{ dockerengine_base_dir }}
|
CONTAINER_ROOT_LV_MOUNT_PATH={{ dockerengine_base_dir }}
|
||||||
VG={{ dockerengine_storage_vg }}
|
VG={{ dockerengine_storage_vg }}
|
||||||
|
{% endif %}
|
||||||
|
Loading…
Reference in New Issue
Block a user