[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:
parent
eb2fe4b16e
commit
c625e0e3e6
@ -18,9 +18,9 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
"FEATURE": {
|
"FEATURE": {
|
||||||
{%- for feature in ["sflow", "telemetry"] %}
|
{%- for feature, status in [("sflow", "disabled"), ("telemetry", "enabled")] %}
|
||||||
"{{feature}}": {
|
"{{feature}}": {
|
||||||
"status": "disabled"
|
"status": "{{status}}"
|
||||||
}{% if not loop.last %},{% endif -%}
|
}{% if not loop.last %},{% endif -%}
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
},
|
},
|
||||||
|
Reference in New Issue
Block a user