openstack team mailing list archive
-
openstack team
-
Mailing list archive
-
Message #02839
Re: Injecting user data into instances
Vishvananda Ishaya wrote:
> As I mentioned before user_data is provided via the metadata server on
> 169.254.169.254. It is the responsibility of the guest to hit
> 169.254.169.254/latest/user-data/ to retrieve the info set in user data.
As an example, Ubuntu's cloud-init (used in Ubuntu's cloud images and
reused by Amazon in its Linux AMIs) is a framework that queries
169.254.169.254 at boot-time and can do various things based on the
contents retrieved (from running a script to fully customize the system):
https://help.ubuntu.com/community/CloudInit
--
Thierry Carrez (ttx)
Release Manager, OpenStack
References