Page MenuHomeVyOS Platform

dhclient started by Cloud-init stays alive forever
Needs testing, Requires assessmentPublicBUG


Some of the data sources contain VyOS-specific code that starts dhclient before fetching metadata:

This client stays active even after the full boot. This leads to the two issues:

  • it interferes with manual settings of IP addresses and routes
  • if an interface required to fetch metadata is not eth0, metadata may be not available, because dhclient drops the default route required to connect metadata server.

This trick with dhclient inside datasource was necessary because Debian does not apply network config autogenerated by Cloud-init, but this was fixed in the

Due to the problems mentioned above, will be better to apply the fix from Cloud-init and remove additional dhclient calls from datasources.


Difficulty level
Normal (likely a few hours)
Why the issue appeared?
Will be filled on close
Is it a breaking change?
Behavior change