From a86d1bb078a9b6d7d1cf1e9f140176e565fc3e9c Mon Sep 17 00:00:00 2001 From: bin456789 Date: Sun, 12 Nov 2023 17:36:10 +0800 Subject: [PATCH] =?UTF-8?q?opensuse:=20=E4=BF=AE=E5=A4=8D=E6=9C=AA?= =?UTF-8?q?=E8=83=BD=E5=BC=80=E5=90=AF=20dhcpv4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit https://github.com/canonical/cloud-init/pull/4591 --- trans.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/trans.sh b/trans.sh index d4288bb..12fe432 100644 --- a/trans.sh +++ b/trans.sh @@ -839,7 +839,7 @@ create_cloud_init_network_config() { # ipv4 if is_dhcpv4; then - yq -i ".network.config[0].subnets += [{\"type\": \"dhcp\"}]" $ci_file + yq -i ".network.config[0].subnets += [{\"type\": \"dhcp4\"}]" $ci_file elif is_staticv4; then get_netconf_to ipv4_addr