summaryrefslogtreecommitdiff
path: root/lib/oxidized/model/eos.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/oxidized/model/eos.rb')
-rw-r--r--lib/oxidized/model/eos.rb4
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/oxidized/model/eos.rb b/lib/oxidized/model/eos.rb
index e6e0bf1..e08598b 100644
--- a/lib/oxidized/model/eos.rb
+++ b/lib/oxidized/model/eos.rb
@@ -7,6 +7,10 @@ class EOS < Oxidized::Model
comment '! '
+ cmd :all do |cfg|
+ cfg.each_line.to_a[2..-2].join
+ end
+
cmd 'show inventory | no-more' do |cfg|
comment cfg
end