[one-users] bug in onevm

Javier Fontan jfontan at opennebula.org
Wed Oct 10 03:51:55 PDT 2012


Type and target are used for different subcommands:

   * saveas <vmid> <diskid> <img_name>
        [...]
        valid options: type

   * attachdisk <vmid>
        [...]
        valid options: file, image, target

So even if they have the same short argument they have different
meanings for saveas and attachdisk.

It is ok to send bug reports to the mailing list so we can discuss
them. You can also use the issue tracking at http://dev.opennebula.org

On Wed, Oct 10, 2012 at 11:05 AM, IJff, E.G. <bert.ijff at vu.nl> wrote:
> Hi,
>
> I'm using OpenNebula at the Vrije Universiteit in Amsterdam, NL.
> When reading the "onevm help" I found that option "-t" seems to serve two
> purposes:
>
> $ onevm help | grep '.-t'
>      -t, --target type         Device where the image will be attached
>      -t, --type type           Type of the new Image
>
> in /cm/shared/package/OpenNebula/current/srv/cloud/one/bin/onevm the
> following code (lines 40..54) seems to be wrong:
>     TYPE={
>         :name => "type",
>         :short => "-t type",
>         :large => "--type type",
>         :format => String,
>         :description => "Type of the new Image"
>     }
>
>     TARGET={
>         :name => "target",
>         :short => "-t type",
>         :large => "--target type",
>         :format => String,
>         :description => "Device where the image will be attached"
>     }
>
> Best regards,
> Bert
>
> P.S. this is my first post to this list, so if I should report bugs
> somewhere else, please let me know.
>
> _______________________________________________
> Users mailing list
> Users at lists.opennebula.org
> 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 | jfontan at opennebula.org | @OpenNebula



More information about the Users mailing list