[one-users] VM description/comment
knawnd at gmail.com
knawnd at gmail.com
Thu Oct 18 01:21:06 PDT 2012
Hi Ruben,
Ruben S. Montero wrote on 17/10/12 14:42:
> Hi
>
> Why not using the name of the VM for this?.....
The name of the VM I would like to use to put hostname in it and perhaps use $NAME in
contextualization as e.g.
CONTEXT=[
HOSTNAME="$NAME.domain.org" ]
But that would make a sense in case when one could be possible to specify IP address in 'onetemplate
instantiate' command.
> Also if you want to append any arbitrary data to the VM (at creation) you can simply added to the
> VM template as:
>
> DESCRIPTION="this is a web server, use 1234 as root password"
>
> This will be stored in the template ans can be queried with the onevm show command or in the
> Template tab in Sunstone
As far as I understand that will work for a creation of a single VM but won't if I need to create a
bunch of VMs with help of 'onetemplate instantiate' command.
Is there any way to modify certain deployed VM's config to add arbitrary data like e.g. DESCRIPTION
field (something like 'onevm update')?
Moreover, in my opinion it's not convenient to parse the output of 'onevm show' command when I need
to get a list of all VMs e.g. what have a word "web" in its description. It would be more convenient
to have a separate column for that as I wrote before. But probably to do that there is a need to
modify DB schema which is not desirable I guess.
Regards,
Nikolay.
>
> Cheers
>
> Ruben
>
> On Tue, Oct 16, 2012 at 4:02 PM, <knawnd at gmail.com <mailto:knawnd at gmail.com>> wrote:
>
> Dear list,
>
> I wonder if there is any way to specify some text as a description/comment for a certain VM in
> order to be able toquery such info later e.g. during 'onevm list' command execution. I just
> don't want to get lost in all my VMs and which one is for what.
> I would like to have something like
> $ onevm list
> ID USER GROUP NAME STAT UCPU UMEM HOST TIME DESCRIPTION
> 11 oneadmin oneadmin one-11 runn 100 1G <host1> 0d 02h07 web-server
> 12 oneadmin oneadmin one-12 runn 1001G <host1> 0d 02h03 mail-server
> 13 oneadmin oneadmin one-13 runn 100 1G <host2> 0d 00h17
> development server
>
>
> Regards,
> Nikolay.
> _______________________________________________
> Users mailing list
> Users at lists.opennebula.org <mailto:Users at lists.opennebula.org>
> http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
>
>
>
>
> --
> Ruben S. Montero, PhD
> Project co-Lead and Chief Architect
> OpenNebula - The Open Source Solution for Data Center Virtualization
> www.OpenNebula.org <http://www.OpenNebula.org> | rsmontero at opennebula.org
> <mailto:rsmontero at opennebula.org> | @OpenNebula
More information about the Users
mailing list