From 8e4a0a95ca809da37dc6bdcc641a3eceb9f56b60 Mon Sep 17 00:00:00 2001 From: spiritlhl <103393591+spiritLHLS@users.noreply.github.com> Date: Mon, 26 Jun 2023 01:44:53 +0000 Subject: [PATCH] Update --- scripts/build_nat_network.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/scripts/build_nat_network.sh b/scripts/build_nat_network.sh index b6897a3..d4a4568 100644 --- a/scripts/build_nat_network.sh +++ b/scripts/build_nat_network.sh @@ -198,7 +198,8 @@ ${sysctl_path} -p # 重启配置 service networking restart systemctl restart networking.service -ifreload -ad +# sleep 3 +# ifreload -ad # 已加载网络,删除对应缓存文件 if [ -f "/etc/network/interfaces.new" ];then chattr -i /etc/network/interfaces.new