[one-users] EC2 template context customization
Olivier Sallou
olivier.sallou at irisa.fr
Wed Jan 11 02:50:11 PST 2012
Hi,
I am having a look at ec2 templates to use econe.
I wonder however how to translate my sunstone context to ec2 context:
Files make use of erb_vm_info, EC2_USER_DATA="<%=
erb_vm_info[:user_data] %>" for example.
but how do we access network etc... info ?
My sunstone template is like:
CONTEXT=[
DNS="$NETWORK[DNS, NETWORK_ID=2]",
HOSTNAME="$NAME-$VMID"
....
I want to use a variable of my network template. How can I do the same
in templates for EC2? I cannot find such info in the doc/wiki.
Thanks
Olivier
--
gpg key id: 4096R/326D8438 (pgp.mit.edu)
Key fingerprint = 5FB4 6F83 D3B9 5204 6335 D26D 78DC 68DB 326D 8438
More information about the Users
mailing list