cloud-init team mailing list archive
Mailing list archive
Re: Few questions about cloud-init...
On Mon, Jul 30, 2018 at 7:03 AM, Shyam Prasad N <nspmangalore@xxxxxxxxx>
> Hi all,
> I've been going through the documentation for cloud-init for the past few
> days, and experimenting with VMs.
> I still do not understand a few things. I'd appreciate if someone could
> clarify this for me.
> 1. How does cloud-init select a datasource? Does it go through all the
> available datasources till it gets a valid meta-data and user-data?
I believe so. However, this can be tweaked, as seems to be on
$ cat /etc/cloud/cloud.cfg.d/90_dpkg.cfg
# to update this file, run dpkg-reconfigure cloud-init
datasource_list: [ SmartOS ]
> 2. Is there a way to verify a cloud-config yaml file, before I go for the
> actual run with the file?
I'll leave that to someone else.