Skip to content

Commit

Permalink
Remove constantly updating dates from Adtran config (#2840)
Browse files Browse the repository at this point in the history
* Remove constantly updating dates from Adtran config

* Update CHANGELOG.md
  • Loading branch information
davesbell authored Jul 31, 2023
1 parent c9d9156 commit efa1cb5
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,9 +29,9 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/).
- fixed netscaler backups with hostname set #2828 (@electrocret)
- Do not redirect stderr when fetching opnsense version since default shell (csh) doesn't support it (@spike77453)
- Fixed fan RPM speeds included in Aruba CX diffs (@danpoltawski)
- Remove constantly updating dates from backup of Adtran config (@davesbell)
- fixed prompt for Cumulus to allow usernames with dots and dashes (@ktims)


## [0.29.1 - 2023-04-24]

## Added
Expand Down
6 changes: 5 additions & 1 deletion lib/oxidized/model/adtran.rb
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,11 @@ class Adtran < Oxidized::Model
cfg
end

cmd 'show running-config'
cmd 'show running-config' do |cfg|
# Strip out line at the top which displays the current date/time
# ! Created : Mon Jun 26 2023 10:07:07
cfg.gsub! /! Createds+:.*\n/, ''
end

cfg :ssh do
if vars :enable
Expand Down

0 comments on commit efa1cb5

Please sign in to comment.