diff options
author | Alexandre-io <Alexandre-io@users.noreply.github.com> | 2017-10-12 18:29:36 +0200 |
---|---|---|
committer | Alexandre.io <Alexandre-io@users.noreply.github.com> | 2018-01-30 17:23:13 +0100 |
commit | 9a134db581c8618c703b35960796e9b4b14c2be3 (patch) | |
tree | 0ab20046e0a8a61cf1f315b80c1eb86b12273c9d | |
parent | 3826ec33af608a377c4421ea75622eebccdebee4 (diff) |
Fix prompt pattern for firewareos clusters and standalone
-rw-r--r-- | lib/oxidized/model/firewareos.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/oxidized/model/firewareos.rb b/lib/oxidized/model/firewareos.rb index f456c60..1b3d07c 100644 --- a/lib/oxidized/model/firewareos.rb +++ b/lib/oxidized/model/firewareos.rb @@ -1,6 +1,6 @@ class FirewareOS < Oxidized::Model - prompt /^([\w.@-]+[#>]\s?)$/ + prompt /^\[?\w*\]?\w*?(<\w*>)?(#|>)\s*$/ comment '-- ' cmd :all do |cfg| |