Skip to content

Commit

Permalink
[build] Enable telemetry service by default (#4760)
Browse files Browse the repository at this point in the history
**- 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
  • Loading branch information
jleveque authored Jun 12, 2020
1 parent 1714e62 commit 4e482c1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions files/build_templates/init_cfg.json.j2
Original file line number Diff line number Diff line change
Expand Up @@ -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 %}
},
Expand Down

0 comments on commit 4e482c1

Please sign in to comment.