what is the linux file location where the cloud-init user-data is passed to? And how does cloud init use that, is it passed as kernel parameter for proc commandline? Can explain in atleast level 2?
How cloudinit works on bare eSXI?
what is the linux file location where the cloud-init user-data is passed to? And how does cloud init use that, is it passed as kernel parameter for proc commandline? Can explain in atleast level 2?
How cloudinit works on bare eSXI?
Copyright © 2021 Jogjafile Inc.
According to the documentation for the AltCloud data source, which includes vSphere:
So
cloud-init
will retrieve your user-data from an attached ISO image (from a file nameduser-data.txt
).When cloud-init runs, it will typically populate
/var/lib/cloud-init/instance
with any information retrieved from the cloud provider, so you should find a copy of the user data in that directory.