Update duokai.sh
This commit is contained in:
parent
011776d976
commit
35b6e4cde3
@ -72,7 +72,7 @@ do
|
||||
# 修改宿主机上的config.toml文件以设置StorageGB值和端口
|
||||
docker exec $container_id bash -c "\
|
||||
sed -i 's/^[[:space:]]*#StorageGB = .*/StorageGB = $storage_gb/' /root/.titanedge/config.toml && \
|
||||
sed -i 's/^[[:space:]]*#ListenAddress = \"0.0.0.0:1234\"/#ListenAddress = \"0.0.0.0:$current_rpc_port\"/' /root/.titanedge/config.toml && \
|
||||
sed -i 's/^[[:space:]]*#ListenAddress = \"0.0.0.0:1234\"/ListenAddress = \"0.0.0.0:$current_rpc_port\"/' /root/.titanedge/config.toml && \
|
||||
echo '容器 titan'$i' 的存储空间设置为 $storage_gb GB,RPC 端口设置为 $current_rpc_port'"
|
||||
done
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user