From fa61ccee1c4c2c18a0051349d1952d552bb2a11b Mon Sep 17 00:00:00 2001 From: bin456789 Date: Mon, 9 Dec 2024 22:35:04 +0800 Subject: [PATCH] =?UTF-8?q?el:=20=E4=BF=AE=E5=A4=8D=20dhcpv6=20+=20Network?= =?UTF-8?q?Manager=20=E6=97=A0=E6=B3=95=E8=8E=B7=E5=8F=96=E7=BD=91?= =?UTF-8?q?=E5=85=B3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- trans.sh | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/trans.sh b/trans.sh index b03dbdf9f..6ce0c6329 100644 --- a/trans.sh +++ b/trans.sh @@ -3372,18 +3372,19 @@ install_qcow_by_copy() { fi # 删除云镜像自带的 dhcp 配置,防止歧义 - # clout-init 网络配置在 /etc/sysconfig/network-scripts/ rm -rf /os/etc/NetworkManager/system-connections/*.nmconnection rm -rf /os/etc/sysconfig/network-scripts/ifcfg-* - # 1. 修复 cloud-init 添加了 IPV*_FAILURE_FATAL + # 1. 修复 cloud-init 添加了 IPV*_FAILURE_FATAL / may-fail=false # 甲骨文 dhcp6 获取不到 IP 将视为 fatal,原有的 ipv4 地址也会被删除 # 2. 修复 dhcpv6 下,ifcfg 添加了 IPV6_AUTOCONF=no 导致无法获取网关 + # 3. 修复 dhcpv6 下,NM method=dhcp 导致无法获取网关 insert_into_file $ci_file after '^runcmd:' <