

There are five stages to a cloud-init boot: You can read more about this on cloud-init official page. It will fail only when there are no default values assigned unlike debian-installer (preseed) which will halt the installation for any and every missing input.Īlthough since this is a new feature so there is a lack of good documentation and debugging can be quite time consuming. By default cloud-init will consider the default value and proceed with the installation.

The one big advantage of using cloud-init over debian-installer is that you don't need to specify answer to each installation option in cloud-init. This is a newly added feature in Ubuntu 20.04 which supersedes the preseeded mode of installation which was performed using debian-installer. Let me give some overview on user-data and cloud-init concept.

In this article I will share step by step instructions to generate user-data file which is required by cloud-init.
