fix boolean logic
This commit is contained in:
parent
49720ab12a
commit
3eac32df64
1 changed files with 2 additions and 2 deletions
4
debian/files/cloud_init.cfg.tftpl
vendored
4
debian/files/cloud_init.cfg.tftpl
vendored
|
@ -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"]
|
||||
|
|
Reference in a new issue