π ~1 min read
Table of contents
Symptom & Impact
Manual network settings revert after reboot and connectivity changes unexpectedly.
Environment & Reproduction
Ubuntu 22.04 cloud image where cloud-init manages network from datasource metadata.
Root Cause Analysis
Cloud-init applies fresh network config during boot stages, overriding local edits.
Quick Triage
Review /etc/netplan/50-cloud-init.yaml and cloud-init status output.
Step-by-Step Diagnosis
Inspect /var/log/cloud-init.log to confirm regeneration of netplan files.

Solution – Primary Fix
Create /etc/cloud/cloud.cfg.d/99-disable-network-config.cfg with network: {config: disabled}, then apply your netplan file.
Still having issues? Our IT Solutions & Services team can diagnose and resolve this for you. Get in touch for a free consultation.

Solution – Alternative Approaches
Maintain network state via datasource metadata rather than local static edits.
Verification & Acceptance Criteria
Reboot preserves local netplan configuration and expected addresses.
Rollback Plan
Remove disable override file and allow cloud-init to manage network again.
Prevention & Hardening
Define clear ownership between cloud-init and configuration management tooling.
Related Errors & Cross-Refs
Renderer mismatch and DHCP route changes can appear as related symptoms.
Related tutorial: View the step-by-step tutorial for Ubuntu 22.04 LTS.
View all Ubuntu 22.04 LTS tutorials on the Tutorials Hub β
Browse all common problems & solutions on the Tutorials Hub.
References & Further Reading
Ubuntu 22.04 cloud-init network configuration documentation.
Need Expert Help?
If you cannot resolve this yourself, our team offers hands-on Server Management, Managed IT Services, and flexible Support Plans. Contact us today β we respond within one business day.