On Sat, Jul 12, 2025 at 11:12:12PM +0200, Chris Hofstaedtler wrote: > > After reviewing the contents of /etc/network/interfaces.d/50-cloud-init > > containing the call to the missing route command it occurred to me that > > this may be an issue with cloud-init instead. > > it appears cloud-init adds "route ..." commands to > /etc/network/interfaces. If so, it should also ensure net-tools is > installed. > > Alternatively it could also add "ip route ..." commands instead, as > it already Depends: iproute2.
Cloud-init is capable of generating configuration for several different networking management systems, or in many cases isn't used to generate any network configuration at all. So we leave the network management out of cloud-init's dependency list intentionally. If you're generating VM images that depend on cloud-init to generate network configuration, I recommend installing the dependencies for the desired backend explicitly in the images, and possibly installing cloud-init configuration to tell it to use the particular back-end in question. noah
