diff options
Diffstat (limited to 'lib/oxidized/model/opengear.rb')
-rw-r--r-- | lib/oxidized/model/opengear.rb | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/lib/oxidized/model/opengear.rb b/lib/oxidized/model/opengear.rb index b7c697f..1f94edb 100644 --- a/lib/oxidized/model/opengear.rb +++ b/lib/oxidized/model/opengear.rb @@ -1,8 +1,7 @@ class OpenGear < Oxidized::Model + comment '# ' - comment '# ' - - prompt /^(\$\s)?$/ + prompt /^(\$\s)$/ cmd :secret do |cfg| cfg.gsub!(/password (\S+)/, 'password <secret removed>') @@ -15,7 +14,6 @@ class OpenGear < Oxidized::Model cmd 'config -g config' cfg :ssh do - exec true # don't run shell, run each command in exec channel + exec true # don't run shell, run each command in exec channel end - end |