sonic-buildimage/files
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
..
Aboot [aboot]: Better handle tmpfs management in boot0 (#6268) 2020-12-22 00:07:10 -08:00
apt [apt] Instruct apt-get to NOT check the "Valid Until" date in Release files (#3973) 2020-01-21 10:43:51 -08:00
build_scripts [build]: combine feature and container feature table (#5081) 2020-08-09 11:55:40 -07:00
build_templates Add service to restore TACACS from old config (#7560) (#7865) 2021-06-15 10:52:31 -07:00
dhcp ZTP infrastructure changes to support DHCP discovery provisioning data (#3298) 2020-03-03 22:23:59 -08:00
docker Enabling ipv6 support on docker container network. This is needed (#5418) 2020-09-22 11:38:19 -07:00
image_config Add service to restore TACACS from old config (#7560) (#7865) 2021-06-15 10:52:31 -07:00
initramfs-tools [NVMe] Add NVMe SSD disc type support to installer.sh script (#6142) 2020-12-16 14:19:07 -08:00
scripts Stop teamd service before syncd (#6756) 2021-02-18 15:48:11 -08:00
sshd [security] Do not generate ssh server keys for non RSA protocols (#2718) 2019-03-29 15:27:33 -07:00