[build] Enable telemetry service by default (#4760)

**- Why I did it**
To ensure telemetry service is enabled by default after installing a fresh SONiC image

**- How I did it**
Set telemetry feature status to "enabled" when generating init_cfg.json file
This commit is contained in:
Joe LeVeque 2020-06-12 16:20:31 -07:00 committed by Abhishek Dosi
parent eb2fe4b16e
commit c625e0e3e6

View File

@ -18,9 +18,9 @@
}
},
"FEATURE": {
{%- for feature in ["sflow", "telemetry"] %}
{%- for feature, status in [("sflow", "disabled"), ("telemetry", "enabled")] %}
"{{feature}}": {
"status": "disabled"
"status": "{{status}}"
}{% if not loop.last %},{% endif -%}
{% endfor %}
},