From 7e53c228aa90f7f50cb27000d953f3cbc8381868 Mon Sep 17 00:00:00 2001 From: bin456789 Date: Tue, 16 Apr 2024 23:29:20 +0800 Subject: [PATCH] =?UTF-8?q?redhat:=20=E5=88=A0=E9=99=A4=E4=BA=91=E9=95=9C?= =?UTF-8?q?=E5=83=8F=E8=87=AA=E5=B8=A6=E7=9A=84=E7=BD=91=E7=BB=9C=E9=85=8D?= =?UTF-8?q?=E7=BD=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit closes #74 --- trans.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/trans.sh b/trans.sh index a0cdf56..9506781 100644 --- a/trans.sh +++ b/trans.sh @@ -2066,6 +2066,10 @@ install_qcow_el() { fi fi + # 删除云镜像自带的 dhcp 配置,防止歧义 + # clout-init 网络配置在 /etc/sysconfig/network-scripts/ + rm -rf /os/etc/NetworkManager/system-connections/*.nmconnection + # 为 centos 7 ci 安装 NetworkManager # 1. 能够自动配置 onlink 网关 # 2. 解决 cloud-init 关闭了 ra,因为 nm 无视内核 ra 设置