On Mon, Jul 30, 2018 at 7:03 AM, Shyam Prasad N <[email protected]>
wrote:

> 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
debian-derived distros.

$ 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.

Mike
-- 
Mailing list: https://launchpad.net/~cloud-init
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~cloud-init
More help   : https://help.launchpad.net/ListHelp

Reply via email to