fix bug that would result in {} being added to config if var unset
This commit is contained in:
@@ -28,8 +28,9 @@ lighthouse:
|
|||||||
# format:
|
# format:
|
||||||
#
|
#
|
||||||
# - "192.168.77.1"
|
# - "192.168.77.1"
|
||||||
|
{% if nebula_lighthouse_extra_config|length > 0 %}
|
||||||
{{ nebula_lighthouse_extra_config | to_nice_yaml | indent(2) }}
|
{{- nebula_lighthouse_extra_config | to_nice_yaml | indent(2) }}
|
||||||
|
{% endif %}
|
||||||
|
|
||||||
listen:
|
listen:
|
||||||
# 0.0.0.0 means "all interfaces," which is probably what you want
|
# 0.0.0.0 means "all interfaces," which is probably what you want
|
||||||
|
|||||||
Reference in New Issue
Block a user