Potential Example with Cloud-Init files with Ubuntu ARM Images
shantanoo-desai opened this issue · comments
Description
All new Ubuntu Images are now pre-installed with cloud-init for first-boot setups. It essentially requires the user to adapt the following files in the /boot
partition:
user-data
meta-data
(should just exist, can be empty)network-config
These files are YAML files, important one being user-data
where one can install necessary software packages, create users and groups etc.
I was wondering, if a potential example in the samples
directory can be introduced to make it more the repository also extensible for Workflows which consists of Packer + Cloud-Init
Query
I have been going through the Issues and PRs, but I have not been able to find a potential solution as to whether I need to introduce the above mentioned files within the builder itself or should these files be introduced in the /boot
partition as post-processors
?
Typically, one downloads the image and manually introduces the files in the /boot
I will be able to contribute a PR once I am able to obtain a bit more clarity on how my query above gets resolved.