[one-users] econe vm templates
Daniel Molina
dmolina at opennebula.org
Tue Apr 12 14:12:31 PDT 2011
Hi,
There is no problem on the econe server side, you can define as many
types as you want and name them as you want, the server will handle
it. The problem is in the client side, for example the econe client
uses the amazon-ec2 gem where you can find the following code snippet:
raise ArgumentError, ":instance_type must specify a valid instance
type" unless optio
ns[:instance_type].nil? || ["t1.micro", "m1.small", "m1.large",
"m1.xlarge", "m2.xlarge", "c1.medium", "c1.xlarge", "m2.2xlarge",
"m2.4xlarge", "cc1.4xlarge"].include?(options[:instance_
type])
therefore you will have to use one of those names or modify the gem
source. I think that other client utilities have the same restriction.
Regards.
On 12 April 2011 18:08, sebastien goasguen <runseb at gmail.com> wrote:
> Hi,
>
> When configuring econe.conf we specifiy the possible instance types:
>
> # VM types allowed and its template file (inside templates directory)
> VM_TYPE=[NAME=m1.small, TEMPLATE=m1.small.erb]
> VM_TYPE=[NAME=m1.medium, TEMPLATE=m1.medium.erb]
>
> Is it possible to use any naming convention for the templates or are
> we limited to the same as EC2 ?
>
> for example can I write something like this in econe.conf:
>
> VM_TYPE=[NAME=medium.onecore, TEMPLATE=medium.onecore.erb]
>
> Which will let users do:
>
> econe-run-instances -t medium.onecore
>
> thanks ?
>
> --
> ---
> Sebastien Goasguen, Associate Professor
> School of Computing
> Clemson University
> 864-553-4734.
> Google Voice: (864)-869-8683
> http://sites.google.com/site/runseb/
> _______________________________________________
> Users mailing list
> Users at lists.opennebula.org
> http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
>
--
Daniel Molina, Cloud Technology Engineer/Researcher
Major Contributor
OpenNebula - The Open Source Toolkit for Cloud Computing
www.OpenNebula.org | dmolina at opennebula.org
More information about the Users
mailing list