From 36ad29a38187b95a5a3b451cd1a244714f434d04 Mon Sep 17 00:00:00 2001 From: Wild Kat Date: Mon, 30 Apr 2018 20:31:33 +0200 Subject: make opengear prompt mandatory --- lib/oxidized/model/opengear.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib') 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 ') -- cgit v1.2.1