From b96f72e458fd28beefe024eb4d78719c18639361 Mon Sep 17 00:00:00 2001 From: bin456789 Date: Fri, 6 Dec 2024 22:50:06 +0800 Subject: [PATCH] =?UTF-8?q?el:=20=E4=BF=AE=E5=A4=8D=20dhcpv6=20+=20ifcfg?= =?UTF-8?q?=20=E4=B8=8B=E6=B2=A1=E6=9C=89=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 | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/trans.sh b/trans.sh index e3fb976..b0c29e3 100644 --- a/trans.sh +++ b/trans.sh @@ -3376,11 +3376,13 @@ install_qcow_by_copy() { rm -rf /os/etc/NetworkManager/system-connections/*.nmconnection rm -rf /os/etc/sysconfig/network-scripts/ifcfg-* - # 修复 cloud-init 添加了 IPV*_FAILURE_FATAL - # 甲骨文 dhcp6 获取不到 IP 将视为 fatal,原有的 ipv4 地址也会被删除 + # 1. 修复 cloud-init 添加了 IPV*_FAILURE_FATAL + # 甲骨文 dhcp6 获取不到 IP 将视为 fatal,原有的 ipv4 地址也会被删除 + # 2. 修复 dhcpv6 下,ifcfg 添加了 IPV6_AUTOCONF=no 导致无法获取网关 insert_into_file $ci_file after '^runcmd:' <