From f5b618f76d705e65ee490c11a4d85fa30382bbdc Mon Sep 17 00:00:00 2001 From: wangchuxiao Date: Mon, 10 Apr 2023 19:53:59 +0800 Subject: [PATCH] script --- script/init_pwd.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/script/init_pwd.sh b/script/init_pwd.sh index 930de1aae..f99eb999b 100644 --- a/script/init_pwd.sh +++ b/script/init_pwd.sh @@ -1,6 +1,7 @@ echo "your user is:$USER" echo "your password is:$PASSWORD" echo "your minio endPoint is:$MINIO_ENDPOINT" +echo "your data dir is $DATA_DIR" sed -i "/^\([[:space:]]*dbMysqlUserName: *\).*/s//\1$USER/;0,/\([[:space:]]*dbUserName: *\).*/s//\1 $USER/;/\([[:space:]]*accessKeyID: *\).*/s//\1 $USER/;/\([[:space:]]*endpoint: *\).*/s//\1\"abc\"/;" ../config/config.yaml sed -i "/^\([[:space:]]*dbMysqlPassword: *\).*/s//\1$PASSWORD/;/\([[:space:]]*dbPassword: *\).*/s//\1$PASSWORD/;/\([[:space:]]*secret: *\).*/s//\1$PASSWORD/;/\([[:space:]]*secretAccessKey: *\).*/s//\1$PASSWORD/;" ../config/config.yaml