diff --git a/Linux_reinstall/Ubuntu/CloudInit/ipv4_static_interfaces.cfg b/Linux_reinstall/Ubuntu/CloudInit/ipv4_static_interfaces.cfg index b747195..42ac0f7 100644 --- a/Linux_reinstall/Ubuntu/CloudInit/ipv4_static_interfaces.cfg +++ b/Linux_reinstall/Ubuntu/CloudInit/ipv4_static_interfaces.cfg @@ -58,6 +58,9 @@ runcmd: - rm -rf /etc/cloud/cloud.cfg.d/99-fake_cloud.cfg - mv /etc/netplan/50-cloud-init.yaml /etc/netplan/20-netcfg.yaml - netplan apply + - systemctl stop cloud-init + - systemctl disable cloud-init + - systemctl mask cloud-init # configure cloud-init for NoCloud datasource_list: [ NoCloud, None ]