summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorytti <saku@ytti.fi>2015-03-23 11:15:26 +0200
committerytti <saku@ytti.fi>2015-03-23 11:15:26 +0200
commitf193ad75af74431e614b6ddccb7be2cd43b6424f (patch)
tree679dca29dbee35716ecd5ecaa26ab2462853e7fc
parent43d19284d7066247800f136c15e0420ece9634bb (diff)
parent706517f75c33f8af231a4e7a4839e74290eb9127 (diff)
Merge pull request #94 from sts/patch-2
Backup full ASA configuration (include passwords)
-rw-r--r--lib/oxidized/model/asa.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/oxidized/model/asa.rb b/lib/oxidized/model/asa.rb
index 8335b1d..d257e9e 100644
--- a/lib/oxidized/model/asa.rb
+++ b/lib/oxidized/model/asa.rb
@@ -23,7 +23,7 @@ class ASA < Oxidized::Model
comment cfg
end
- cmd 'show running-config' do |cfg|
+ cmd 'more system:running-config' do |cfg|
cfg = cfg.each_line.to_a[3..-1].join
cfg.gsub! /^: [^\n]*\n/, ''
cfg