删除重启网络的部分内容,部分系统的PVE会因此导致TAP设备丢失

This commit is contained in:
spiritlhl 2024-08-22 17:21:41 +08:00 committed by GitHub
parent c22f0723be
commit f21d712237
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -63,8 +63,6 @@ fi
# 其他相关操作
echo "Rebuilding the iptables rules..."
cat /etc/iptables/rules.v4 | iptables-restore
service networking restart
systemctl restart networking.service
if [ -f "/usr/local/bin/ndpresponder" ]; then
systemctl restart ndpresponder.service
fi