Update duokai.sh
This commit is contained in:
parent
96f86874ba
commit
33a2f489ca
@ -65,8 +65,8 @@ do
|
||||
|
||||
# 修改宿主机上的config.toml文件以设置StorageGB值
|
||||
docker exec $container_id bash -c "\
|
||||
sed -i 's/#StorageGB = .*/StorageGB = '$storage_gb'/' /root/.titanedge/config.toml && \
|
||||
echo '容器 titan$i 的存储空间已设置为 $storage_gb GB'"
|
||||
sed -i 's/^[[:space:]]*#StorageGB = .*/StorageGB = $storage_gb/' /root/.titanedge/config.toml && \
|
||||
echo '容器 titan'$i' 的存储空间已设置为 $storage_gb GB'"
|
||||
|
||||
# 进入容器并执行绑定和其他命令
|
||||
docker exec $container_id bash -c "\
|
||||
|
Loading…
Reference in New Issue
Block a user