summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorAlexandre-io <Alexandre-io@users.noreply.github.com>2017-10-12 18:29:36 +0200
committerAlexandre.io <Alexandre-io@users.noreply.github.com>2018-01-30 17:23:13 +0100
commit9a134db581c8618c703b35960796e9b4b14c2be3 (patch)
tree0ab20046e0a8a61cf1f315b80c1eb86b12273c9d /lib
parent3826ec33af608a377c4421ea75622eebccdebee4 (diff)
Fix prompt pattern for firewareos clusters and standalone
Diffstat (limited to 'lib')
-rw-r--r--lib/oxidized/model/firewareos.rb2
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|