summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorytti <saku@ytti.fi>2018-03-17 16:12:38 +0200
committerGitHub <noreply@github.com>2018-03-17 16:12:38 +0200
commita9af29b42879d4cac8df88c96891b44b98719b90 (patch)
tree8afcb7c493ebc7e232c60299f42e24cd2f02da9f
parent8177e2fd81efc0237a41c28f385e555325241b4d (diff)
parent9a134db581c8618c703b35960796e9b4b14c2be3 (diff)
Merge pull request #1063 from Alexandre-io/fix-firewareos-cluster
Fix prompt pattern for firewareos clusters
-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|