sonic-buildimage/files/build_templates
Renuka Manavalan 3ea38a9788
Add service to restore TACACS from old config (#7560) (#7865)
In upgrade scenarios, where config_db.json is not carry forwarded to new image, it could be left w/o TACACS credentials.
Added a service to trigger 5 minutes after boot and restore TACACS, if /etc/sonic/old_config/tacacs.json is present.

How I did it
By adding a service, that would fire 5 mins after boot.
This service apply tacacs if available.

How to verify it
Upgrade and watch status of tacacs.timer & tacacs.service
You may create /etc/sonic/old_config/tacacs.json, with updated credentials
(before 5mins after boot) and see that appears in config & persisted too.
2021-06-15 10:52:31 -07:00
..
per_namespace [multi_asic][vs]: Add dependency in teamd service to start after topology service(#6594) 2021-02-18 18:05:10 -08:00
arp_update_vars.j2 [swss] Enhance ARP Update to Call Sonic Cfggen Once (#5398) 2020-12-22 09:51:54 -08:00
buffers_config.j2 [buffers_config.j2]: Use correct cable lengths for backend devices (#5905) 2020-11-14 08:41:14 -08:00
config-setup.service.j2 [config-setup]: create a SONiC configuration management service (#3227) 2020-01-21 10:39:19 -08:00
database.service.j2 Multi-ASIC implementation (#3888) 2020-04-15 13:08:34 -07:00
dhcp_relay.service.j2 [services] Remove explicit dependencies from dhcp_relay service file, control in swss.sh (#3823) 2019-11-26 16:59:45 -08:00
docker_image_ctl.j2 Port fix for https://github.com/Azure/sonic-buildimage/pull/6537 in 201911 (#6648) 2021-02-26 17:16:33 -08:00
init_cfg.json.j2 Enhanced Feature table to support 'always_enabled' value for state and auto-restart fields. (#6000) 2020-11-25 10:04:42 -08:00
lldp.service.j2 Changes for LLDP docker to support multi-npu platforms (#4530) 2020-05-20 07:51:49 -07:00
mgmt-framework.service.j2 [services][mgmt-framework] delay mgmt-framework service on boot (#5226) 2020-09-04 21:22:12 +00:00
mgmt-framework.timer [services][mgmt-framework] delay mgmt-framework service on boot (#5226) 2020-09-04 21:22:12 +00:00
nat.service.j2 [services] remove swss from WantedBy for nat service (#4991) 2020-07-26 11:11:35 -07:00
organization_extensions.sh Framework to plugin Organization specific scripts during ONIE Image build (#951) 2017-09-19 16:23:31 -07:00
pmon.service.j2 [Services] Restart Platform-monitor service upon unexpected critical process exit. (#3689) 2019-11-04 17:44:01 -08:00
process-reboot-cause.timer [reboot cause]: Delay process-reboot-cause service until network connection is stable (#4003) 2020-01-21 10:47:13 -08:00
qos_config.j2 Make backend device checking more robust (#5730) 2020-11-14 08:39:08 -08:00
radv.service.j2 [services] improve startup time by changing startup order (#3656) 2019-10-31 09:18:26 -07:00
restapi.service.j2 Start RestAPI container when sonic boots (#4140) 2020-02-24 10:16:02 -08:00
sflow.service.j2 [services] sflow service sets swss service as Requisite=, not Requires= (#3819) 2020-01-02 14:29:11 -08:00
snmp.service.j2 [services] make snmp.timer work again and delay telemetry.service (#3742) 2020-01-06 10:32:24 -08:00
snmp.timer [build_templates]: Start SNMP timer after SWSS service (#6195) 2020-12-16 19:28:31 -08:00
sonic_debian_extension.j2 Add service to restore TACACS from old config (#7560) (#7865) 2021-06-15 10:52:31 -07:00
tacacs-config.service Add service to restore TACACS from old config (#7560) (#7865) 2021-06-15 10:52:31 -07:00
tacacs-config.timer Add service to restore TACACS from old config (#7560) (#7865) 2021-06-15 10:52:31 -07:00
telemetry.service.j2 [services] make snmp.timer work again and delay telemetry.service (#3742) 2020-01-06 10:32:24 -08:00
telemetry.timer [services] make snmp.timer work again and delay telemetry.service (#3742) 2020-01-06 10:32:24 -08:00
updategraph.service.j2 [config-setup]: create a SONiC configuration management service (#3227) 2020-01-21 10:39:19 -08:00