I run Ubuntu 20,04 server with some cloud-init user-data to preconfigure my system.
It supposed to get an IP from my MK (hAP ac^2), yet when the default-network file was modified (needed for cloud-init to get IP lease) - deleting a line optional: true, still no DHCP IP lease from the MK router.
Guys from Ubuntu marked the problem as incomplete (basically MK's fault) . It does work well when connected to dnsmasq, yet when directly connected to MK router no lease is achieved in time, thus no proper time is set on the system, and ultimately no ssh-import-id as the command returns "bad handshake"
https://bugs.launchpad.net/cloud-init/+bug/1926026
https://bugs.launchpad.net/cloud-init/+bug/1924922
Can somebody help how to get a proper IP lease - first time.
Thanks.