diff options
author | Wild Kat <wk@users.noreply.github.com> | 2018-04-30 20:58:32 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-04-30 20:58:32 +0200 |
commit | fd01815eaae3506424e324ba34a4a986c9609563 (patch) | |
tree | 20d36ea26d65648ac323cd2c07b4720140b7be82 | |
parent | a44e81e706db8ce9639868f3d97c6c97ceec9716 (diff) | |
parent | 36ad29a38187b95a5a3b451cd1a244714f434d04 (diff) |
Merge pull request #1324 from wk/wk-patch-1
make opengear prompt mandatory (closes #722)
-rw-r--r-- | lib/oxidized/model/opengear.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/oxidized/model/opengear.rb b/lib/oxidized/model/opengear.rb index e0d4c0a..1f94edb 100644 --- a/lib/oxidized/model/opengear.rb +++ b/lib/oxidized/model/opengear.rb @@ -1,7 +1,7 @@ class OpenGear < Oxidized::Model comment '# ' - prompt /^(\$\s)?$/ + prompt /^(\$\s)$/ cmd :secret do |cfg| cfg.gsub!(/password (\S+)/, 'password <secret removed>') |