要在CentOS中删除网络配置,请使用命令 nmcli connection delete [connection-name] 或编辑 /etc/sysconfig/network-scripts/ 中的配置文件。