summaryrefslogtreecommitdiff
path: root/lib/oxidized/model/screenos.rb
diff options
context:
space:
mode:
authorrivo nurges <rivo@surfar.ee>2015-05-05 12:40:17 +0000
committerrivo nurges <rivo@surfar.ee>2015-05-05 12:40:17 +0000
commitad690160f1f0f96b541feb905a9a642f5307b996 (patch)
tree4e23d707d66d13a678efca085d63a778a0200f4e /lib/oxidized/model/screenos.rb
parenta8c7ede31605ef2be21e2e75510e01dcdf4ac6be (diff)
parent0062fb6dd291718714af046ca7be4a6b2c739d74 (diff)
Merge branch 'master' into panos
Diffstat (limited to 'lib/oxidized/model/screenos.rb')
-rw-r--r--lib/oxidized/model/screenos.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/oxidized/model/screenos.rb b/lib/oxidized/model/screenos.rb
index c13e64a..7ee9d9f 100644
--- a/lib/oxidized/model/screenos.rb
+++ b/lib/oxidized/model/screenos.rb
@@ -18,6 +18,8 @@ class ScreenOS < Oxidized::Model
end
cmd 'get system' do |cfg|
+ cfg.gsub! /^Date\ .*\n/, ''
+ cfg.gsub! /^Up\ .*\n/, ''
comment cfg
end