Skip to content

Commit

Permalink
install: added playground.
Browse files Browse the repository at this point in the history
Signed-off-by: Wine93 <[email protected]>
  • Loading branch information
Wine93 authored and opencurveadmin committed Nov 9, 2022
1 parent a7d0b2b commit 09566f5
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions util/install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -179,6 +179,14 @@ install_curvebs() {
done
}

install_playground() {
for role in {"etcd","mds","chunkserver"}; do
for ((i=0;i<3;i++)); do
mkdir -p "${g_prefix}"/playground/"${role}""${i}"/{conf,data,logs}
done
done
}

download_etcd() {
local now=`date +"%s%6N"`
local nos_url="https://curve-build.nos-eastchina1.126.net"
Expand Down Expand Up @@ -250,6 +258,7 @@ main() {
install_monitor
else
install_curvebs
install_playground
fi
}

Expand Down

0 comments on commit 09566f5

Please sign in to comment.