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