added functionality to synchronize IOS image files
This commit is contained in:
12
README.md
12
README.md
@@ -14,15 +14,17 @@ License, see [below](#license)
|
||||
|
||||
sync-router
|
||||
-----------
|
||||
Shell scripts used to synchronize the current Cisco startup configuration and
|
||||
DHCP static lease files with with a GIT repository. This scripts assumes one
|
||||
(git-managed) subdirectory per router. It performs the following operations when
|
||||
invoked:
|
||||
Shell scripts used to synchronize the current Cisco startup configuration, IOS
|
||||
images and DHCP static lease files with with a GIT repository. This scripts
|
||||
assumes one (git-managed) subdirectory per router. It performs the following
|
||||
operations when invoked:
|
||||
|
||||
- copy Cisco startup-config using scp and add to next commit
|
||||
- synchronize the IOS images in the git repository and update the startup-
|
||||
config accordingly
|
||||
- update the header of modified DHCP static lease files, upload them using
|
||||
using scp and add them to the next commit
|
||||
- restart Cisco DHCP service after updating DHCP static lease files
|
||||
- copy Cisco running-config using scp and add to next commit
|
||||
- commit changes to the git repository
|
||||
|
||||
I use this script to keep the configuration of my cisco router(s) in a GIT
|
||||
|
||||
Reference in New Issue
Block a user