20.04 server loses IP addresses on reboot
I'm building a new server, and I thought I'd have a play with 20.04 Server as the OS with a plan to migrate everything over from the old 18.04 server.
I have an ansible playbook that logs into the server and sets everything up (new netplan file LXD configs, installs packages, etc.)
The server works fine at that point, but when I reboot the server it doesn't come up with a IP addresses. The bridge groups are defined as per the netplan file, but no Layer 3 stuff.
If I use the server terminal to run "sudo netplan apply" then it all comes up and starts working fine.
Any idea what's stopping my network interface addresses coming up? When it boots the terminal has a message about cloud-init, so I'm not sure if that could be screwing things up?
I've tried stopping the cloud init networking bits by creating the file at /etc/cloud/
Question information
- Language:
- English Edit question
- Status:
- Open
- For:
- Ubuntu Edit question
- Assignee:
- No assignee Edit question
- Last query:
- Last reply:
Can you help with this problem?
Provide an answer of your own, or ask Mephi for more information if necessary.