fix boolean logic

This commit is contained in:
Pim Kunis 2023-06-08 23:06:17 +02:00
parent 49720ab12a
commit 3eac32df64

View file

@ -40,7 +40,7 @@ runcmd:
- dhclient - dhclient
- locale-gen - locale-gen
%{ if data_disk } %{ if data_disk != "" }
device_aliases: device_aliases:
data: /dev/vdb data: /dev/vdb
disk_setup: disk_setup:
@ -55,7 +55,7 @@ fs_setup:
overwrite: false overwrite: false
%{ endif } %{ endif }
%{ if data_disk || data_share } %{ if data_disk != "" || data_share != "" }
mounts: mounts:
%{ if data_disk != "" } %{ if data_disk != "" }
- ["data.1", "/mnt/data"] - ["data.1", "/mnt/data"]