Installing Ubuntu Server 18.04, I see the networking config in /etc/netplan has a .yml file that talks about CloudInit and networking configuration not persisting across instances.
I have read https://help.ubuntu.com/community/CloudInit but am unsure what the exact use case for CloudInit would be, and why it would be on by default. My server is not on AWS nor any cloud platform.
So I've disabled this with /etc/cloud/cloud.cfg.d/99-disable-network-config.cfg as per the comment a the start of the config file, and assigned a simple static IP and that works fine.
But am I missing something?