diff --git a/solr/templates/solr.xml.j2 b/solr/templates/solr.xml.j2
index 73d00829..dbcb9e55 100644
--- a/solr/templates/solr.xml.j2
+++ b/solr/templates/solr.xml.j2
@@ -35,7 +35,7 @@
${hostContext:solr}
{{ solr_zk_timeout }}
${genericCoreNodeNames:true}
- {% if solr_cloud_mode %}
+ {% if solr_zk_external_cluster %}
{{ solr_zk_hosts }}
{% endif %}
{% endif %}