π ~1 min read
Table of contents
Symptom & Impact
Manual network changes disappear after reboot, causing unpredictable addressing.
Environment & Reproduction
Ubuntu 20.04 LTS cloud image converted to long-lived server role.
Root Cause Analysis
cloud-init network module rewrites netplan from datasource metadata.
Quick Triage
Check whether cloud-init manages networking before editing netplan manually.
Step-by-Step Diagnosis
Review cloud-init configs and generated netplan files under /etc/netplan.

Solution – Primary Fix
Disable cloud-init network rendering and apply persistent custom netplan.
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
Update datasource-provided network metadata to desired static settings.
Verification & Acceptance Criteria
Network config persists across reboot without cloud-init overwrites.
Rollback Plan
Re-enable cloud-init network module and restore previous generated files.
Prevention & Hardening
Decide a single source of truth for networking in server build templates.
Related Errors & Cross-Refs
Frequently appears alongside interface rename and DHCP fallback issues.
Related tutorial: View the step-by-step tutorial for Ubuntu 20.04 LTS.
View all Ubuntu 20.04 LTS tutorials on the Tutorials Hub β
Browse all common problems & solutions on the Tutorials Hub.
References & Further Reading
See cloud-init networking docs and netplan renderer guidance.
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.