Hi Jeremy,
Thank you much for suggestions. I will consider it. :)
Nguyen Huu Khoi


On Sat, Aug 12, 2023 at 12:45 AM Jeremy Stanley <fungi@yuggoth.org> wrote:
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