To disable the network configuration in Cloud-Init, you need to create a file /etc/cloud/cloud.cfg.d/99-custom-networking.cfg and add the contents of network: {config: disabled}
To do this, you can execute the command
$ sudo echo "network: {config: disabled}" > /etc/cloud/cloud.cfg.d/99-custom-networking.cfg
