2022年7月28日
-
cat <<EOF >/etc/NetworkManager/nm-system-settings.conf
[main]
plugins=ifupdown,keyfile
[ifupdown]
managed=true
EOF
systemctl start NetworkManager
systemctl enable NetworkManager
systemctl stop NetworkManager
systemctl disable NetworkManager
rm -rf /var/lib/NetworkManager/NetworkManager.state /etc/NetworkManager/nm-system-settings.conf
reboot