summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/oxidized/model/masteros.rb3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/oxidized/model/masteros.rb b/lib/oxidized/model/masteros.rb
index 3f5a2fc..d48fe27 100644
--- a/lib/oxidized/model/masteros.rb
+++ b/lib/oxidized/model/masteros.rb
@@ -12,6 +12,7 @@ comment '!'
cmd :all do |cfg|
cfg.each_line.to_a[1..-2].join
+ cfg.gsub! /^(! Configuration ).*/, '!'
end
cmd 'show inventory' do |cfg|
@@ -43,4 +44,4 @@ comment '!'
pre_logout 'exit'
end
-end \ No newline at end of file
+end