[Openstack] Injecting user data into instances

Thierry Carrez thierry at openstack.org
Fri Jun 10 07:08:16 UTC 2011


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




More information about the Openstack mailing list