summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorytti <saku@ytti.fi>2014-07-09 14:35:35 +0300
committerytti <saku@ytti.fi>2014-07-09 14:35:35 +0300
commit5ddad15d1da5f414ac3577d9ba874856a37ed2fc (patch)
treeea4b4b26b45c7afe943df88eea5ed04136f865ce
parenta9e23e2372f78624c8ba7fbe4a88b5857fbda545 (diff)
parentcca39e7d789f2b301acd79d60dd6dd1651c4675d (diff)
Merge pull request #16 from RichiH/feature--web_optional
Default to local listening for oxidized-web
-rw-r--r--README.md2
-rw-r--r--lib/oxidized/config.rb2
2 files changed, 2 insertions, 2 deletions
diff --git a/README.md b/README.md
index 579a3fa..f7a4fc3 100644
--- a/README.md
+++ b/README.md
@@ -88,7 +88,7 @@ debug: false
threads: 30
timeout: 30
prompt: !ruby/regexp /^([\w.@-]+[#>]\s?)$/
-rest: 0.0.0.0:8888
+rest: 127.0.0.1:8888
vars: {}
input:
default: ssh, telnet
diff --git a/lib/oxidized/config.rb b/lib/oxidized/config.rb
index 97bd164..50b1e71 100644
--- a/lib/oxidized/config.rb
+++ b/lib/oxidized/config.rb
@@ -23,7 +23,7 @@ module Oxidized
CFGS.default.threads = 30
CFGS.default.timeout = 30
CFGS.default.prompt = /^([\w.@-]+[#>]\s?)$/
- CFGS.default.rest = '0.0.0.0:8888' # or false to disable
+ CFGS.default.rest = '127.0.0.1:8888' # or false to disable
CFGS.default.vars = {} # could be 'enable'=>'enablePW'
CFGS.default.groups = {} # group level configuration
CFGS.default.remove_secret = false # runs cmd(:secret) blocks if true