Thank you. We are looking forward to have it added to the OpenNebula ecosystem.
On Tue, Jan 29, 2013 at 12:04 AM, Ricardo Duarte <[email protected]> wrote: > Dear All, > > I made available a service that implements the EC2 metadata protocol. For > more information, please see: > > http://docs.aws.amazon.com/AWSEC2/2008-08-08/DeveloperGuide/AESDG-chapter-instancedata.html > > The main benefit is that you can get instance meta-data from inside the > machine, most notably the user-data and public keys. > And because it is compatible with EC2, you can use cloud-init or other tools > without any modification(*). > > https://help.ubuntu.com/community/CloudInit > > You can find the code and instructions on the following link: > > https://bitbucket.org/ricardoduarte/opennebula-metadata > > The code reuses the /var/lib/one/.one/ec2_auth credentials. > > Please let me know if you find any bug. > I plan to write a small guide with examples on how to use it with > cloud-init. > > Regards, > Ricardo > > (*) while cloud-init itself does not need any modification, you have to make > sure the instance has a valid IP before cloud-init runs, either by having > DHCP or by running the context scripts before cloud-init. > One simple way to ensure that, with Ubuntu, is to add the following to > /etc/init/one-context.conf > > # /etc/init/one-context.conf - opennebula context script > # contextualizes instance > > start on starting cloud-init-nonet > > task > > exec /etc/init.d/vmcontext > > > _______________________________________________ > Users mailing list > [email protected] > http://lists.opennebula.org/listinfo.cgi/users-opennebula.org > -- Javier Fontán Muiños Project Engineer OpenNebula - The Open Source Toolkit for Data Center Virtualization www.OpenNebula.org | [email protected] | @OpenNebula _______________________________________________ Users mailing list [email protected] http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
