mirror of
https://github.com/oneclickvirt/pve.git
synced 2024-09-20 06:55:56 +08:00
删除重启网络的部分内容,部分系统的PVE会因此导致TAP设备丢失
This commit is contained in:
parent
c22f0723be
commit
f21d712237
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue