VirtualBox

Opened 3 months ago

Closed 3 weeks ago

#21993 closed defect (fixed)

VBoxManage createvm --group option throws VBoxManage: error: Unknown option: --group => fixed in svn

Reported by: greyseal9696 Owned by:
Component: other Version: VirtualBox-7.0.12
Keywords: vboxmanage createvm Cc: greyseal9696
Guest type: all Host type: Linux

Description

I am running VirtualBox 7.0.12 on Linux Mint Debian Edition 6 (which is mostly using Debian repos). I was trying to use vboxmanage createvm to create a new VM and I consulted the documentation to refresh my memory. The documentation online, from vboxmanage createvm and from vboxmanage help createvm all list a --group option but, when I run vboxmanage createvm with the --group option, I get the following error:

Oracle VM VirtualBox Command Line Management Interface Version 7.0.12_Debian
Copyright (C) 2005-2023 Oracle and/or its affiliates

VBoxManage: error: Unknown option: --group="/Dev"
Usage - Create a new virtual machine:

  VBoxManage createvm <--name=name> [--basefolder=basefolder] [--default] [--group=group-ID,...] [--ostype=ostype]
      [--register] [--uuid=uuid] [--cipher cipher] [--password-id password-id] [--password file]

For reference, here is what the documentation for vboxmanage createvm shows:

Usage - Create a new virtual machine:

  VBoxManage createvm <--name=name> [--basefolder=basefolder] [--default] [--group=group-ID,...] [--ostype=ostype]
      [--register] [--uuid=uuid] [--cipher cipher] [--password-id password-id] [--password file]

Here is what the documentation for vboxmanage help createvm shows:

...Other documentation here...

Command Options
===============

  In addition to specifying the name or UUID of the VM, which is required, you can specify any of the following
  options:

  ...Other options here...

  --group=<group-ID>,...
      Assigns the VM to the specified groups. If you specify more than one group, separate each group name with a
      comma.

I noticed one of the other commands had a --groups option, i.e. plural with an "s", so I tried that with vboxmanage createvm and it worked. The documentation in all three places (web, command, and "help command") needs to be updated to reflect the name of the option.

Change History (2)

comment:1 by galitsyn, 3 months ago

Summary: VBoxManage createvm --group option throws VBoxManage: error: Unknown option: --groupVBoxManage createvm --group option throws VBoxManage: error: Unknown option: --group => fixed in svn

Hi greyseal9696,

Thank you for pointing out. Please use "--groups" option. Issue will be addressed in the next release.

Last edited 3 months ago by galitsyn (previous) (diff)

comment:2 by galitsyn, 3 weeks ago

Resolution: fixed
Status: newclosed

Hi greyseal9696,

We just released VirtualBox 7.0.18. This issue should be fixed in this release. It can be downloaded from here. Thank you for reporting the issue.

Note: See TracTickets for help on using tickets.

© 2023 Oracle
ContactPrivacy policyTerms of Use