diff --git a/app/views/unattended/provisioning_templates/snippet/disk_enc_clevis_tang.erb b/app/views/unattended/provisioning_templates/snippet/disk_enc_clevis_tang.erb index c881b7790c3..296dc9b7996 100644 --- a/app/views/unattended/provisioning_templates/snippet/disk_enc_clevis_tang.erb +++ b/app/views/unattended/provisioning_templates/snippet/disk_enc_clevis_tang.erb @@ -24,7 +24,7 @@ description: | end -%> -<% if (@host.operatingsystem.family == 'Redhat' || @host.operatingsystem.name == 'Ubuntu') && unless tang_server_list.blank? -%> +<% if (@host.operatingsystem.family == 'Redhat' || @host.operatingsystem.name == 'Ubuntu') && tang_server_list.present? -%> cat > /tmp/rootdir-luks-device.sh << "EOF" #!/bin/sh