From a8293f8b79baeadd7186908e3ca1d2cf5d354e38 Mon Sep 17 00:00:00 2001 From: Molly Lau Date: Thu, 8 Jun 2023 17:46:25 +0900 Subject: [PATCH] Update ipv4_static_ipv6_static_interfaces.cfg --- .../Ubuntu/CloudInit/ipv4_static_ipv6_static_interfaces.cfg | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Linux_reinstall/Ubuntu/CloudInit/ipv4_static_ipv6_static_interfaces.cfg b/Linux_reinstall/Ubuntu/CloudInit/ipv4_static_ipv6_static_interfaces.cfg index ae0d8a9..255a98b 100644 --- a/Linux_reinstall/Ubuntu/CloudInit/ipv4_static_ipv6_static_interfaces.cfg +++ b/Linux_reinstall/Ubuntu/CloudInit/ipv4_static_ipv6_static_interfaces.cfg @@ -56,6 +56,9 @@ runcmd: - apt update - apt install curl dnsutils efibootmgr fail2ban figlet file lrzsz jq lsof lsb-release net-tools python3 subnetcalc telnet traceroute unzip vim wget xz-utils -y - rm -rf /etc/cloud/cloud.cfg.d/99-fake_cloud.cfg + - echo 'network: {config: disabled}' > /etc/cloud/cloud.cfg.d/99-disable-network-config.cfg + - mv /etc/netplan/50-cloud-init.yaml /etc/netplan/20-netcfg.yaml + - netplan apply # configure cloud-init for NoCloud datasource_list: [ NoCloud, None ]