I recently upgraded an Ubuntu droplet from 18.04 LTS to 20.04 LTS using
sudo do-release-upgrade. The system seems fine after the upgrade except for 1 thing. It now takes 2 minutes for the network to start after a boot. The console shows:
[ OK ] Reached target Network. [ ] A start job is running for Wait for Network to be Configured (47s / no limit)
2020-11-09 19:38:37,068 - util.py[WARNING]: Getting data from <class 'cloudinit.sources.DataSourceDigitalOcean.DataSourceDigitalOcean'> failed
Further digging shows:
$ cloud-id none
/etc/cloud/cloud.cfg.d/ contains some files that are 4+ years old:
-rw-r–r-- 1 root root 1480 Nov 2 2016 93-digitalocean-cloud-config.cfg -rw-r–r-- 1 root root 95 Nov 2 2016 91-digitalocean-dpkg.cfg -rw-r–r-- 1 root root 200 Nov 2 2016 92-digitalocean-ds.cfg -rw-r–r-- 1 root root 167 Jan 14 2020 README -rw-r–r-- 1 root root 2070 Aug 26 16:58 05_logging.cfg -rw-r–r-- 1 root root 104 Nov 9 19:36 90_dpkg.cfg
Are the files in /etc/cloud/cloud.cfg.d supposed to be removed or updated at some point?
This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.