11 Aug
2023
11 Aug
'23
11:07 p.m.
On 2023-08-11 19:30:14 +0200 (+0200), Arnaud wrote:
IIRC, when you disable dhcp on the network, modern cloud-init (like debian 12/Ubuntu 22.04) will configure the IP on your instance at boot time after doing a metadata network request.
That just works, but it depends on OS. [...]
Cloud-init can also get network configuration from a mounted configdrive (if you pass the right server create options so it gets one), and skip requesting metadata over the network that way. -- Jeremy Stanley