From 35b6e4cde3eb654060d650438cc68a45b393db57 Mon Sep 17 00:00:00 2001 From: smeb y <48400087+a3165458@users.noreply.github.com> Date: Sat, 27 Apr 2024 23:22:21 +0800 Subject: [PATCH] Update duokai.sh --- duokai.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/duokai.sh b/duokai.sh index 778e6bc..9d9d719 100644 --- a/duokai.sh +++ b/duokai.sh @@ -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