From 790f4fb6f244379e8fbf4678b1a2150c8f246c2d Mon Sep 17 00:00:00 2001 From: kv Date: Wed, 19 Aug 2020 18:57:01 +0800 Subject: [PATCH] fix: wget config-default.yaml the output file need to be named config.yaml --- compose/gen-config-yaml.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/compose/gen-config-yaml.sh b/compose/gen-config-yaml.sh index 92b696ec46..473342aa5f 100755 --- a/compose/gen-config-yaml.sh +++ b/compose/gen-config-yaml.sh @@ -21,7 +21,7 @@ export etcd_url='http://192.17.5.10:2379' unamestr=`uname` -wget https://raw.githubusercontent.com/apache/apisix/master/conf/config-default.yaml +wget https://raw.githubusercontent.com/apache/apisix/master/conf/config-default.yaml -o config.yaml if [[ "$unamestr" == 'Darwin' ]]; then sed -i '' -e ':a' -e 'N' -e '$!ba' -e "s/allow_admin[a-z: #\/._]*\n\( *- [0-9a-zA-Z: #\/._',]*\n*\)*//g" config.yaml