[one-users] Announcement: econe metadata server
rjtd21 at hotmail.com
Mon Jan 28 15:04:52 PST 2013
I made available a service that implements the EC2 metadata protocol. For more information, please see:
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(*).
You can find the code and instructions on the following link:
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.
(*) 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
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Users