I have tested removing cloud-init
using this guide on Ubuntu Server 22.04 and Ubuntu Server 22.04 (minimized) installed with the default settings. Uninstalling cloud-init
from full Ubuntu Server does not mark important packages for removal, but doing it from the minimized version did so. See the screenshot below. If I execute sudo apt autoremove
after that, and restart the server, the Internet is no longer accessible and all Internet-related commands are not found.
Is that a bug? If not, can I remove cloud-init from the minimized version without destroying network access? I am not using cloud. I just wanted a bare-minimum Ubuntu desktop (I add XFCE to this).