fix(nasp): dnew and gateway

This commit is contained in:
Dict Xiong 2024-06-16 12:48:35 +08:00
parent 9daecf46a7
commit cb00edf274
2 changed files with 3 additions and 2 deletions

View File

@ -365,7 +365,7 @@ in
}
{
routeConfig = {
Gateway = "2001:da8:bf:300::1";
Gateway = "fd01:da8:bf:300::1";
GatewayOnLink = true;
Metric = 90;
};

View File

@ -29,7 +29,8 @@ ask_for_yN()
container_name=$(whoami)_$(date +%y%m%d-%H%M%S)
base_command="sudo docker run -d --net=host -v /home2:/home2 \\
base_command="sudo docker run -d --net=host \\
-v /home2:/home2 -v /share:/share \\
--cap-add=SYS_NICE --cap-add=IPC_LOCK \\
--security-opt seccomp=unconfined --ulimit memlock=-1:-1 \\
--restart=unless-stopped \\